From b33fbff3e9aed9999adc7af18cda7925fec18d12 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 26 Jun 2014 01:39:03 +0000 Subject: [PATCH] ICU-10974 patch: building ICU with clang-cl X-SVN-Rev: 35952 --- icu4c/source/common/umutex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/umutex.cpp b/icu4c/source/common/umutex.cpp index b3478ad72af..c699e34c8f1 100644 --- a/icu4c/source/common/umutex.cpp +++ b/icu4c/source/common/umutex.cpp @@ -68,7 +68,7 @@ U_NAMESPACE_BEGIN U_COMMON_API UBool U_EXPORT2 umtx_initImplPreInit(UInitOnce &uio) { for (;;) { int32_t previousState = InterlockedCompareExchange( -#if (U_PLATFORM == U_PF_MINGW) || (U_PLATFORM == U_PF_CYGWIN) +#if (U_PLATFORM == U_PF_MINGW) || (U_PLATFORM == U_PF_CYGWIN) || defined(__clang__) (LONG volatile *) // this is the type given in the API doc for this function. #endif &uio.fState, // Destination -- 2.40.0