ICU-20364 Cygwin builds need to set WINVER to 0x0601 for Windows 7, similar to MinGW builds.

This commit is contained in:
Jeff Genovy 2019-01-23 12:41:46 -08:00 committed by Jeff Genovy
parent 1f7d8ababe
commit 972e31d58d
3 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,10 @@ else
STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION
endif
## ICU requires a minimum target of Windows 7, and WINVER is not set to this by default.
## https://msdn.microsoft.com/en-us/library/aa383745.aspx
CPPFLAGS += -DWINVER=0x0601 -D_WIN32_WINNT=0x0601
## Flags for position independent code
SHAREDLIBCFLAGS =
SHAREDLIBCXXFLAGS =

View File

@ -24,6 +24,10 @@ else
STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION
endif
## ICU requires a minimum target of Windows 7, and WINVER is not set to this by default.
## https://msdn.microsoft.com/en-us/library/aa383745.aspx
CPPFLAGS += -DWINVER=0x0601 -D_WIN32_WINNT=0x0601
## Flags for position independent code
SHAREDLIBCFLAGS =
SHAREDLIBCXXFLAGS =

View File

@ -18,6 +18,10 @@ else
STATICCPPFLAGS = -DU_STATIC_IMPLEMENTATION
endif
## ICU requires a minimum target of Windows 7, and WINVER is not set to this by default.
## https://msdn.microsoft.com/en-us/library/aa383745.aspx
CPPFLAGS += -DWINVER=0x0601 -D_WIN32_WINNT=0x0601
## Flags for position independent code
SHAREDLIBCFLAGS =
SHAREDLIBCXXFLAGS =