win: bump minimum supported version to windows 8
* Windows 7 went out of support earlier this year. * As did Python 2.7. We no longer have to worry about MSVC 2008. Python 3.5 and up use VS 2015. PR-URL: https://github.com/libuv/libuv/pull/2821 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Joao Reis <reis@janeasystems.com>
This commit is contained in:
parent
663588e68e
commit
a779fccfd1
@ -118,7 +118,7 @@ set(uv_sources
|
|||||||
src/version.c)
|
src/version.c)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
list(APPEND uv_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0600)
|
list(APPEND uv_defines WIN32_LEAN_AND_MEAN _WIN32_WINNT=0x0602)
|
||||||
list(APPEND uv_libraries
|
list(APPEND uv_libraries
|
||||||
psapi
|
psapi
|
||||||
user32
|
user32
|
||||||
|
|||||||
@ -56,7 +56,7 @@ if WINNT
|
|||||||
uvinclude_HEADERS += include/uv/win.h include/uv/tree.h
|
uvinclude_HEADERS += include/uv/win.h include/uv/tree.h
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/src/win \
|
AM_CPPFLAGS += -I$(top_srcdir)/src/win \
|
||||||
-DWIN32_LEAN_AND_MEAN \
|
-DWIN32_LEAN_AND_MEAN \
|
||||||
-D_WIN32_WINNT=0x0600
|
-D_WIN32_WINNT=0x0602
|
||||||
libuv_la_SOURCES += src/win/async.c \
|
libuv_la_SOURCES += src/win/async.c \
|
||||||
src/win/atomicops-inl.h \
|
src/win/atomicops-inl.h \
|
||||||
src/win/core.c \
|
src/win/core.c \
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| GNU/Linux | Tier 1 | Linux >= 2.6.32 with glibc >= 2.12 | |
|
| GNU/Linux | Tier 1 | Linux >= 2.6.32 with glibc >= 2.12 | |
|
||||||
| macOS | Tier 1 | macOS >= 10.7 | |
|
| macOS | Tier 1 | macOS >= 10.7 | |
|
||||||
| Windows | Tier 1 | >= Windows 7 | MSVC 2008 and later are supported |
|
| Windows | Tier 1 | >= Windows 8 | VS 2015 and later are supported |
|
||||||
| FreeBSD | Tier 1 | >= 10 | |
|
| FreeBSD | Tier 1 | >= 10 | |
|
||||||
| AIX | Tier 2 | >= 6 | Maintainers: @libuv/aix |
|
| AIX | Tier 2 | >= 6 | Maintainers: @libuv/aix |
|
||||||
| IBM i | Tier 2 | >= IBM i 7.2 | Maintainers: @libuv/ibmi |
|
| IBM i | Tier 2 | >= IBM i 7.2 | Maintainers: @libuv/ibmi |
|
||||||
|
|||||||
@ -1325,9 +1325,8 @@ TEST_IMPL(environment_creation) {
|
|||||||
found = 1;
|
found = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (prev) { /* verify sort order -- requires Vista */
|
if (prev) { /* verify sort order */
|
||||||
#if _WIN32_WINNT >= 0x0600 && \
|
#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
|
||||||
(!defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR))
|
|
||||||
ASSERT(CompareStringOrdinal(prev, -1, str, -1, TRUE) == 1);
|
ASSERT(CompareStringOrdinal(prev, -1, str, -1, TRUE) == 1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user