From f6b6098316192475ff0b3fa2ba894d7e555bdfac Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Tue, 9 Mar 2010 21:00:36 +0100 Subject: Enable threaded async procedures whenever pthreads is available Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- run-command.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run-command.h') diff --git a/run-command.h b/run-command.h index 40db39cec0..56491b9f23 100644 --- a/run-command.h +++ b/run-command.h @@ -1,7 +1,7 @@ #ifndef RUN_COMMAND_H #define RUN_COMMAND_H -#ifdef ASYNC_AS_THREAD +#ifndef NO_PTHREADS #include #endif @@ -78,7 +78,7 @@ struct async { void *data; int in; /* caller writes here and closes it */ int out; /* caller reads from here and closes it */ -#ifndef ASYNC_AS_THREAD +#ifdef NO_PTHREADS pid_t pid; #else pthread_t tid; -- cgit v1.2.3