diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-08-25 23:23:01 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-08-25 23:23:01 +0300 |
commit | 7f3efa3b65e50b35d4e9f895e625e0878edc196a (patch) | |
tree | f25790322d0ac42e1304bda86f65acea7faf43b9 | |
parent | 4b104ce07070e32363a217a554441a8b4df69d12 (diff) |
winsup.h: Claim Windows 10 support
* winsup.h (_WIN32_WINNT): Set to 0x0a00 for Windows 10.
(WINVER): Ditto. Remove outdated comment.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/release/2.2.2 | 4 | ||||
-rw-r--r-- | winsup/cygwin/winsup.h | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5df64e135..0c3f61b8d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2015-08-25 Corinna Vinschen <corinna@vinschen.de> + * winsup.h (_WIN32_WINNT): Set to 0x0a00 for Windows 10. + (WINVER): Ditto. Remove outdated comment. + +2015-08-25 Corinna Vinschen <corinna@vinschen.de> + * autoload.cc (std_dll_init): Revert using full paths to system DLLs. 2015-08-25 Corinna Vinschen <corinna@vinschen.de> diff --git a/winsup/cygwin/release/2.2.2 b/winsup/cygwin/release/2.2.2 index eb2162b1e..baa2d0dd3 100644 --- a/winsup/cygwin/release/2.2.2 +++ b/winsup/cygwin/release/2.2.2 @@ -12,3 +12,7 @@ Bug Fixes - Fix a hang when stracing a forking or spawning process without activating stracing of child processes. Addresses: https://cygwin.com/ml/cygwin/2015-08/msg00390.html + +- Fix long-standing potential SEGV on 32 bit Cygwin when the dynamic loader + for OS functions fails to load a function on Windows 7 or later. + Addresses: No actual bug report known. diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 4b549dde9..b2c860282 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -19,10 +19,8 @@ details. */ #define EXPORT_ALIAS(sym,symalias) extern "C" __typeof (sym) symalias __attribute__ ((alias(#sym))); -/* 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 _WIN32_WINNT 0x0a00 +#define WINVER 0x0a00 #define _NO_W32_PSEUDO_MODIFIERS |