]> granicus.if.org Git - icu/commitdiff
ICU-9642 Fix retypedef of UMutex error
authorMichael Ow <mow@svn.icu-project.org>
Wed, 10 Oct 2012 03:51:23 +0000 (03:51 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Wed, 10 Oct 2012 03:51:23 +0000 (03:51 +0000)
X-SVN-Rev: 32586

icu4c/source/common/umutex.h

index 259cca37fbd0adf131e4ef292bb627c67a807ebc..893de8e6336edd562119dc32d5af409cce7895d8 100644 (file)
@@ -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