ICU-10974 patch: building ICU with clang-cl
X-SVN-Rev: 35952
This commit is contained in:
parent
34b4644cac
commit
b33fbff3e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user