ICU-20364 Cygwin builds need to set WINVER to 0x0601 for Windows 7, similar to MinGW builds.
This commit is contained in:
parent
1f7d8ababe
commit
972e31d58d
@ -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 =
|
||||
|
@ -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 =
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user