Re: [PATCH 1/2] fix compilation with --disable-pthreads
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 13, 2014, 19:10 UTC
- Message-ID
- <xmqqwq833hws.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <d2df2f619967ea7ba9625868b9c77d79a1190665.1413038338.git.etienne.buira@gmail.com>
Etienne Buira <etienne.buira@gmail.com> 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?
Show 17 quoted lines
> Signed-off-by: Etienne Buira <etienne.buira@gmail.com> > --- > 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