[setup] branch master, updated. release_2.873-8-g12a7e24

corinna@sourceware.org corinna@sourceware.org
Wed Jan 20 17:50:00 GMT 2016




https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;h=12a7e246e8d9f2ad36da8a5c609e03e182a4c484

commit 12a7e246e8d9f2ad36da8a5c609e03e182a4c484
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Wed Jan 20 18:50:14 2016 +0100

    Move definition of _WIN32_WINNT to win32.h and bump to Windows 10
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>


Diff:
---
 main.cc |    2 --
 win32.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/main.cc b/main.cc
index 43a5860..3da6185 100644
--- a/main.cc
+++ b/main.cc
@@ -31,8 +31,6 @@ static const char *cvsid =
   "\n%%% $Id$\n";
 #endif
 
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
 #include "win32.h"
 #include <commctrl.h>
 #include <shellapi.h>
diff --git a/win32.h b/win32.h
index a6b3316..9563ba4 100644
--- a/win32.h
+++ b/win32.h
@@ -29,6 +29,9 @@
 /* Basic Windows features only. */
 #define WIN32_LEAN_AND_MEAN
 
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0a00
+
 /* libstdc++-v3 _really_ dislikes min & max defined as macros. */
 /* As of gcc 3.3.1, it defines NOMINMAX itself, so test first,
  * to avoid a redefinition error */



More information about the Cygwin-apps-cvs mailing list