From: Johannes Sixt Date: Tue, 12 Feb 2008 08:49:16 GMT Subject: Re: [PATCH] pack-objects: Add runtime detection of online CPU's Message-ID: <47B15D8C.1000600@viscovery.net> In-Reply-To: <47B156CD.1010209@op5.se> Andreas Ericsson schrieb: > +#ifndef THREAD_COMPAT_H > +#define THREAD_COMPAT_H > + > +#include "cache.h" > + > +#ifdef THREADED_DELTA_SEARCH > +#include > +# ifdef _WIN32 > +# define WIN32_LEAN_AND_MEAN > +# include > +# endif And now what? If you don't provide a pthread_* implementation for Windows, you can just drop the #ifdef _WIN32 part as long as the THREADED_DELTA_SEARCH guards remain. -- Hannes