Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-07-06 16:13:50 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-07-06 16:13:50 +0400
commita02924944e135d0b401169e27700afa89a39f0ae (patch)
tree6ed6d5a16a6ff69e6d473cd17dfbac954be10def /winsup/cygwin/winsup.h
parent862de2d0ae4335667aa01b8a6080dbe08ea24112 (diff)
* winsup.h (_WIN32_WINNT): Define. Explain why.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index dff81fc6c..0c96113be 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -27,7 +27,11 @@ details. */
#define EXPORT_ALIAS(sym,symalias) extern "C" __typeof (sym) symalias __attribute__ ((alias(#sym)));
-#define WINVER 0x0601
+/* Fun, fun, fun. On Mingw64, WINVER is set according to the value of
+ _WIN32_WINNT, on Mingw32 it's exactly the opposite... */
+#define _WIN32_WINNT 0x0602
+#define WINVER 0x0602
+
#define _NO_W32_PSEUDO_MODIFIERS
#include <sys/types.h>