* winsup.h (_WIN32_WINNT): Define. Explain why.

This commit is contained in:
Corinna Vinschen 2012-07-06 12:13:50 +00:00
parent 862de2d0ae
commit a02924944e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-07-06 Corinna Vinschen <corinna@vinschen.de>
* winsup.h (_WIN32_WINNT): Define. Explain why.
2012-07-06 Corinna Vinschen <corinna@vinschen.de>
* libc/rcmd.cc: Don't undef __INSIDE_CYGWIN_NET__.

View File

@ -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>