diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-03 09:48:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-05 13:42:11 +0900 |
commit | 10bc232d0f93957c42b2167f00fc3437b30b08b3 (patch) | |
tree | 82a5227cc330a584247ec9b018f4e80b719ef5dc /git-gui/git-gui--askpass | |
parent | thread-utils: macros to unconditionally compile pthreads API (diff) | |
download | tgif-10bc232d0f93957c42b2167f00fc3437b30b08b3.tar.xz |
run-command.h: include thread-utils.h instead of pthread.h
run-command.c may use threads for its async support. But instead of
including pthread.h directly, let's include thread-utils.h.
run-command.c probably never needs the dummy bits in thread-utils.h
when NO_PTHREADS is defined. But this makes sure we have consistent
HAVE_THREADS behavior everywhere. From now on outside compat/,
thread-utils.h is the only place that includes pthread.h
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/git-gui--askpass')
0 files changed, 0 insertions, 0 deletions