Go to the documentation of this file.
32 #if defined(UVERNUM_H)
33 # error Do not include unicode/uvernum.h before #including unicode/platform.h. Instead of unicode/uvernum.h, #include unicode/uversion.h
40 #ifndef UCLN_NO_AUTO_CLEANUP
41 #define UCLN_NO_AUTO_CLEANUP 1
61 #ifndef U_HAVE_DIRENT_H
62 #define U_HAVE_DIRENT_H 1
66 #ifndef U_HAVE_INTTYPES_H
67 #define U_HAVE_INTTYPES_H 1
84 #ifndef U_IOSTREAM_SOURCE
85 #define U_IOSTREAM_SOURCE 199711
96 #ifndef U_HAVE_STD_STRING
97 #define U_HAVE_STD_STRING 1
101 #ifndef U_HAVE_INT8_T
102 #define U_HAVE_INT8_T 1
105 #ifndef U_HAVE_UINT8_T
106 #define U_HAVE_UINT8_T 1
109 #ifndef U_HAVE_INT16_T
110 #define U_HAVE_INT16_T 1
113 #ifndef U_HAVE_UINT16_T
114 #define U_HAVE_UINT16_T 1
117 #ifndef U_HAVE_INT32_T
118 #define U_HAVE_INT32_T 1
121 #ifndef U_HAVE_UINT32_T
122 #define U_HAVE_UINT32_T 1
125 #ifndef U_HAVE_INT64_T
126 #define U_HAVE_INT64_T 1
129 #ifndef U_HAVE_UINT64_T
130 #define U_HAVE_UINT64_T 1
140 #ifndef U_HAVE_NAMESPACE
141 #define U_HAVE_NAMESPACE 1
147 #if defined(BYTE_ORDER) && defined(BIG_ENDIAN)
148 #define U_IS_BIG_ENDIAN (BYTE_ORDER == BIG_ENDIAN)
150 #define U_IS_BIG_ENDIAN 0
154 #ifndef ICU_USE_THREADS
155 #define ICU_USE_THREADS 1
168 #ifndef U_DISABLE_RENAMING
169 #define U_DISABLE_RENAMING 0
173 #ifndef U_OVERRIDE_CXX_ALLOCATION
174 #define U_OVERRIDE_CXX_ALLOCATION 1
177 #ifndef U_HAVE_PLACEMENT_NEW
178 #define U_HAVE_PLACEMENT_NEW 1
182 #ifndef U_ENABLE_TRACING
183 #define U_ENABLE_TRACING 0
190 #ifndef U_ENABLE_DYLOAD
191 #define U_ENABLE_DYLOAD 1
198 #ifndef U_CHECK_DYLOAD
199 #define U_CHECK_DYLOAD 1
204 #ifndef U_DEFAULT_SHOW_DRAFT
205 #define U_DEFAULT_SHOW_DRAFT 1
214 #if ((defined(OS390) && (!defined(__CHARSET_LIB) || !__CHARSET_LIB))) || defined(OS400)
215 # define U_CHARSET_FAMILY 1
224 #ifndef U_HAVE_WCHAR_H
225 #define U_HAVE_WCHAR_H 1
228 #ifndef U_SIZEOF_WCHAR_T
229 #define U_SIZEOF_WCHAR_T 4
232 #ifndef U_HAVE_WCSCPY
233 #define U_HAVE_WCSCPY 1
248 #ifndef U_GNUC_UTF16_STRING
249 #define U_GNUC_UTF16_STRING 0
251 #if 1 || defined(U_CHECK_UTF16_STRING)
252 #if (defined(__xlC__) && defined(__IBM_UTF_LITERAL) && U_SIZEOF_WCHAR_T != 2) \
253 || (defined(__HP_aCC) && __HP_aCC >= 035000) \
254 || (defined(__HP_cc) && __HP_cc >= 111106) \
255 || U_GNUC_UTF16_STRING
256 #define U_DECLARE_UTF16(string) u ## string
257 #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550)
260 #define U_DECLARE_UTF16(string) U ## string
261 #elif U_SIZEOF_WCHAR_T == 2 \
262 && (U_CHARSET_FAMILY == 0 || ((defined(OS390) || defined(OS400)) && defined(__UCS2__)))
263 #define U_DECLARE_UTF16(string) L ## string
273 #ifndef U_HAVE_NL_LANGINFO_CODESET
274 #define U_HAVE_NL_LANGINFO_CODESET 1
277 #ifndef U_NL_LANGINFO_CODESET
278 #define U_NL_LANGINFO_CODESET CODESET
282 #define U_TZSET tzset
285 #define U_TIMEZONE __timezone
288 #define U_TZNAME tzname
291 #define U_HAVE_MMAP 1
292 #define U_HAVE_POPEN 1
300 #ifdef U_STATIC_IMPLEMENTATION
303 #define U_EXPORT __attribute__((visibility("default")))
304 #elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \
305 || (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550)
306 #define U_EXPORT __global
317 #if defined(U_CYGWIN) && !defined(__GNUC__)
318 #define U_IMPORT __declspec(dllimport)
331 # define U_INLINE inline
333 # define U_INLINE __inline__
338 #define U_ALIGN_CODE(n)
351 #ifndef U_HAVE_GCC_ATOMICS
352 #define U_HAVE_GCC_ATOMICS 1
366 #define U_MAKE "make"
381 # define U_LIB_SUFFIX_C_NAME
386 # define U_LIB_SUFFIX_C_NAME_STRING ""
391 # define U_HAVE_LIB_SUFFIX 0
393 #if U_HAVE_LIB_SUFFIX
394 # ifndef U_ICU_ENTRY_POINT_RENAME
396 # define U_ICU_ENTRY_POINT_RENAME(x) x ## _ ## 48 ##
397 # define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt####major##minor##_dat