ICU-8452 Update Cygwin MSVC handling by defining CYGWINMSVC

X-SVN-Rev: 30546
This commit is contained in:
Michael Ow 2011-08-19 17:51:04 +00:00
parent 6be4ed022f
commit 3ca1e00e84
2 changed files with 3 additions and 1 deletions

View file

@ -167,9 +167,11 @@
* Otherwise undefined.
* @internal
*/
/* Commented out because this is already set in mh-cygwin-msvc
#if U_PLATFORM == U_PF_CYGWIN && defined(_MSC_VER)
# define CYGWINMSVC
#endif
*/
/**
* \def U_PLATFORM_USES_ONLY_WIN32_API

View file

@ -48,7 +48,7 @@ endif
CFLAGS+=/GF /nologo
CXXFLAGS+=/GF /nologo /EHsc /Zc:wchar_t
CPPFLAGS+=-D_CRT_SECURE_NO_DEPRECATE
DEFS+=-DWIN32 -D__CYGWIN__
DEFS+=-DWIN32 -DCYGWINMSVC
LDFLAGS+=/nologo
# Commands to compile