ICU-10808 Fix file sep char checking

X-SVN-Rev: 35652
This commit is contained in:
Michael Ow 2014-04-24 20:06:19 +00:00
parent 4e5886643f
commit c01ee1021e

View File

@ -162,7 +162,7 @@ findBasename(const char *filename) {
const char *basename=uprv_strrchr(filename, U_FILE_SEP_CHAR); const char *basename=uprv_strrchr(filename, U_FILE_SEP_CHAR);
#if U_FILE_ALT_SEP_CHAR!=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) if(basename==NULL)
#endif #endif
{ {