From: Kurt Zeilenga Date: Fri, 17 Mar 2000 19:35:20 +0000 (+0000) Subject: Depend HAVE_NT_THREADS on _WINNT X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d14c7ad7c221e14b470ae4a3c45972a5c0f5256c;p=openldap Depend HAVE_NT_THREADS on _WINNT --- diff --git a/include/portable.nt b/include/portable.nt index cb21918247..8885a91c20 100644 --- a/include/portable.nt +++ b/include/portable.nt @@ -26,7 +26,11 @@ /* don't suck in all of the win32 api */ #define WIN32_LEAN_AND_MEAN -#ifdef _MT +#if defined(_WIN32) && !defined(_WINNT) && !defined(_WIN95) +#define _WINNT +#endif + +#if defined( _MT ) && defined( _WINNT ) #define HAVE_NT_THREADS 1 #else #define NO_THREADS 1