OSDN Git Service

* winsup.h (WINVER): Define instead of _WIN32_WINNT. Set to 0x0502.
authorcorinna <corinna>
Tue, 17 Oct 2006 13:55:01 +0000 (13:55 +0000)
committercorinna <corinna>
Tue, 17 Oct 2006 13:55:01 +0000 (13:55 +0000)
(_NO_W32_PSEUDO_MODIFIERS): Define.

winsup/cygwin/ChangeLog
winsup/cygwin/winsup.h

index 5646525..26b6921 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-17  Corinna Vinschen  <corinna@vinschen.de>
+
+       * winsup.h (WINVER): Define instead of _WIN32_WINNT.  Set to 0x0502.
+       (_NO_W32_PSEUDO_MODIFIERS): Define.
+
 2006-10-16  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
index ff7037a..7382161 100644 (file)
@@ -35,9 +35,8 @@ details. */
 
 #define EXPORT_ALIAS(sym,symalias) extern "C" __typeof (sym) symalias __attribute__ ((alias(#sym)));
 
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
-#endif
+#define WINVER 0x0502
+#define _NO_W32_PSEUDO_MODIFIERS
 
 #include <sys/types.h>
 #include <sys/strace.h>