ICU-6209 build macosx wit --enable-strict
X-SVN-Rev: 23570
This commit is contained in:
parent
4162dd185d
commit
ccd1b36465
@ -25,8 +25,16 @@
|
|||||||
#if defined(U_DARWIN)
|
#if defined(U_DARWIN)
|
||||||
#include <AvailabilityMacros.h>
|
#include <AvailabilityMacros.h>
|
||||||
#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 (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 <libkern/OSAtomic.h>
|
#include <libkern/OSAtomic.h>
|
||||||
#define USE_MAC_OS_ATOMIC_INCREMENT 1
|
#define USE_MAC_OS_ATOMIC_INCREMENT 1
|
||||||
|
#if defined(UPRV_REMAP_INLINE)
|
||||||
|
#undef inline
|
||||||
|
#undef UPRV_REMAP_INLINE
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user