From ccd1b364657c45bb2f2d29bcd0c9a27e0794e757 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 12 Mar 2008 21:48:14 +0000 Subject: [PATCH] ICU-6209 build macosx wit --enable-strict X-SVN-Rev: 23570 --- icu4c/source/common/umutex.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/icu4c/source/common/umutex.c b/icu4c/source/common/umutex.c index 9f065293f2..aa6be2ea30 100644 --- a/icu4c/source/common/umutex.c +++ b/icu4c/source/common/umutex.c @@ -25,8 +25,16 @@ #if defined(U_DARWIN) #include #if (ICU_USE_THREADS == 1) && defined(MAC_OS_X_VERSION_10_4) && defined(MAC_OS_X_VERSION_MIN_REQUIRED) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4) +#if defined(__STRICT_ANSI__) +#define UPRV_REMAP_INLINE +#define inline +#endif #include #define USE_MAC_OS_ATOMIC_INCREMENT 1 +#if defined(UPRV_REMAP_INLINE) +#undef inline +#undef UPRV_REMAP_INLINE +#endif #endif #endif