]> git.sur5r.net Git - openldap/blobdiff - include/portable.nt
cleanup old TOOLID macro
[openldap] / include / portable.nt
index cb21918247a74002bc3ffd9452c756060b58a128..6a62403cb7b55af423c5b761f74c143fe6f0ee30 100644 (file)
@@ -2,7 +2,7 @@
 /* include/portable.h.nt -- manually updated of MS NT (MS VC5) */
 /* synced with portable.h.in 1.24 */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
 /* 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