mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Depend HAVE_NT_THREADS on _WINNT
This commit is contained in:
parent
3e5c381d3a
commit
d14c7ad7c2
@ -26,7 +26,11 @@
|
|||||||
/* don't suck in all of the win32 api */
|
/* don't suck in all of the win32 api */
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#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
|
#define HAVE_NT_THREADS 1
|
||||||
#else
|
#else
|
||||||
#define NO_THREADS 1
|
#define NO_THREADS 1
|
||||||
|
Loading…
Reference in New Issue
Block a user