mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
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
3 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue