diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-07-06 12:13:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-07-06 12:13:50 +0000 |
commit | a02924944e135d0b401169e27700afa89a39f0ae (patch) | |
tree | 6ed6d5a16a6ff69e6d473cd17dfbac954be10def /winsup/cygwin/winsup.h | |
parent | 862de2d0ae4335667aa01b8a6080dbe08ea24112 (diff) | |
download | newlib-a02924944e135d0b401169e27700afa89a39f0ae.zip newlib-a02924944e135d0b401169e27700afa89a39f0ae.tar.gz newlib-a02924944e135d0b401169e27700afa89a39f0ae.tar.bz2 |
* winsup.h (_WIN32_WINNT): Define. Explain why.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index dff81fc..0c96113 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> |