ICU-12788 udbg_getPlatform cygwin fix (patch)
X-SVN-Rev: 40009
This commit is contained in:
parent
54f3a77ac6
commit
a4fd3dcb23
@ -351,8 +351,10 @@ int32_t udbg_enumByName(UDebugEnumType type, const char *value) {
|
||||
*/
|
||||
U_CAPI const char *udbg_getPlatform(void)
|
||||
{
|
||||
#if U_PLATFORM_HAS_WIN32_API
|
||||
#if U_PLATFORM_USES_ONLY_WIN32_API
|
||||
return "Windows";
|
||||
#elif U_PLATFORM == U_PF_CYGWIN
|
||||
return "Cygwin";
|
||||
#elif U_PLATFORM == U_PF_UNKNOWN
|
||||
return "unknown";
|
||||
#elif U_PLATFORM == U_PF_DARWIN
|
||||
|
Loading…
Reference in New Issue
Block a user