diff --git a/icu4c/source/common/umutex.h b/icu4c/source/common/umutex.h index 259cca37fb..893de8e633 100644 --- a/icu4c/source/common/umutex.h +++ b/icu4c/source/common/umutex.h @@ -196,7 +196,9 @@ struct UMutex { #endif +#if (U_PLATFORM != U_PF_CYGWIN && U_PLATFORM != U_PF_MINGW) || defined(CYGWINMSVC) typedef struct UMutex UMutex; +#endif /* Lock a mutex. * @param mutex The given mutex to be locked. Pass NULL to specify