From c01ee1021e3c1427fd723aff1794def8ee6ef112 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Thu, 24 Apr 2014 20:06:19 +0000 Subject: [PATCH] ICU-10808 Fix file sep char checking X-SVN-Rev: 35652 --- icu4c/source/tools/toolutil/toolutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/tools/toolutil/toolutil.cpp b/icu4c/source/tools/toolutil/toolutil.cpp index 6a6ad7d4d1..6d90efc297 100644 --- a/icu4c/source/tools/toolutil/toolutil.cpp +++ b/icu4c/source/tools/toolutil/toolutil.cpp @@ -162,7 +162,7 @@ findBasename(const char *filename) { const char *basename=uprv_strrchr(filename, U_FILE_SEP_CHAR); #if U_FILE_ALT_SEP_CHAR!=U_FILE_SEP_CHAR -#if !U_PLATFORM_USES_ONLY_WIN32_API && U_PLATFORM != U_PF_CYGWIN +#if !(U_PLATFORM == U_PF_CYGWIN && U_PLATFORM_USES_ONLY_WIN32_API) if(basename==NULL) #endif {