From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4593 invoked by alias); 20 Jan 2016 17:50:23 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 4569 invoked by uid 9078); 20 Jan 2016 17:50:22 -0000 Date: Wed, 20 Jan 2016 17:50:00 -0000 Message-ID: <20160120175022.4542.qmail@sourceware.org> From: corinna@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup] branch master, updated. release_2.873-8-g12a7e24 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 22819fa1dc28fdd507db34c6eeface0d4f2b67fc X-Git-Newrev: 12a7e246e8d9f2ad36da8a5c609e03e182a4c484 X-SW-Source: 2016-q1/txt/msg00002.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-setup.git;h=12a7e246e8d9f2ad36da8a5c609e03e182a4c484 commit 12a7e246e8d9f2ad36da8a5c609e03e182a4c484 Author: Corinna Vinschen 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 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 #include 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 */