]> git.sur5r.net Git - openldap/commitdiff
Depend HAVE_NT_THREADS on _WINNT
authorKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 19:35:20 +0000 (19:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 19:35:20 +0000 (19:35 +0000)
include/portable.nt

index cb21918247a74002bc3ffd9452c756060b58a128..8885a91c206e963075ef83d98ea19c7bc9029f8d 100644 (file)
 /* 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