Subject: Re: [PATCH 1/2] fix compilation with --disable-pthreads

From: Junio C Hamano <[email-masked]>
Date: Mon, 13 Oct 2014 12:10:11 -0700

Etienne Buira <[email-masked]> writes:

> Subject: Re: [PATCH 1/2] fix compilation with --disable-pthreads

That probably is a typo of "NO_PTHREADS=NoThanks" or something.
Thanks.

Just out of curiosity, are you porting to some exotic platforms?

> Signed-off-by: Etienne Buira <[email-masked]>
> ---
>  builtin/index-pack.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/builtin/index-pack.c b/builtin/index-pack.c
> index eebf1a8..0f88f4b 100644
> --- a/builtin/index-pack.c
> +++ b/builtin/index-pack.c
> @@ -185,6 +185,9 @@ static void cleanup_thread(void)
>  #define deepest_delta_lock()
>  #define deepest_delta_unlock()
>  
> +#define type_cas_lock()
> +#define type_cas_unlock()
> +
>  #endif