00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00025 #ifndef U_WINDOWS
00026 #define U_WINDOWS
00027 #endif
00028
00029 #if defined(__BORLANDC__)
00030 #define U_HAVE_PLACEMENT_NEW 0
00031 #define U_HAVE_INTTYPES_H 1
00032 #define __STDC_CONSTANT_MACROS
00033 #endif
00034
00036 #if defined(_MSC_VER)
00037 #define U_INT64_IS_LONG_LONG 0
00038 #else
00039 #define U_INT64_IS_LONG_LONG 1
00040 #endif
00041
00043 #ifndef U_HAVE_INTTYPES_H
00044 #define U_HAVE_INTTYPES_H 0
00045 #endif
00046
00061 #ifndef U_IOSTREAM_SOURCE
00062 #define U_IOSTREAM_SOURCE 199711
00063 #endif
00064
00067 #ifndef U_HAVE_INT8_T
00068 #define U_HAVE_INT8_T U_HAVE_INTTYPES_H
00069 #endif
00070
00071 #ifndef U_HAVE_UINT8_T
00072 #define U_HAVE_UINT8_T U_HAVE_INTTYPES_H
00073 #endif
00074
00075 #ifndef U_HAVE_INT16_T
00076 #define U_HAVE_INT16_T U_HAVE_INTTYPES_H
00077 #endif
00078
00079 #ifndef U_HAVE_UINT16_T
00080 #define U_HAVE_UINT16_T U_HAVE_INTTYPES_H
00081 #endif
00082
00083 #ifndef U_HAVE_INT32_T
00084 #define U_HAVE_INT32_T U_HAVE_INTTYPES_H
00085 #endif
00086
00087 #ifndef U_HAVE_UINT32_T
00088 #define U_HAVE_UINT32_T U_HAVE_INTTYPES_H
00089 #endif
00090
00091 #ifndef U_HAVE_INT64_T
00092 #define U_HAVE_INT64_T U_HAVE_INTTYPES_H
00093 #endif
00094
00095 #ifndef U_HAVE_UINT64_T
00096 #define U_HAVE_UINT64_T U_HAVE_INTTYPES_H
00097 #endif
00098
00102 #if !U_INT64_IS_LONG_LONG
00103 # ifndef INT64_C
00104 # define INT64_C(x) ((int64_t)x)
00105 # endif
00106 # ifndef UINT64_C
00107 # define UINT64_C(x) ((uint64_t)x)
00108 # endif
00109
00110 #endif
00111
00112
00115
00116
00119 #if U_HAVE_INTTYPES_H
00120 #include <inttypes.h>
00121 #else
00122
00123 #if ! U_HAVE_INT8_T
00124 typedef signed char int8_t;
00125 #endif
00126
00127 #if ! U_HAVE_UINT8_T
00128 typedef unsigned char uint8_t;
00129 #endif
00130
00131 #if ! U_HAVE_INT16_T
00132 typedef signed short int16_t;
00133 #endif
00134
00135 #if ! U_HAVE_UINT16_T
00136 typedef unsigned short uint16_t;
00137 #endif
00138
00139 #if ! U_HAVE_INT32_T
00140 typedef signed int int32_t;
00141 #endif
00142
00143 #if ! U_HAVE_UINT32_T
00144 typedef unsigned int uint32_t;
00145 #endif
00146
00147 #if ! U_HAVE_INT64_T
00148 #if U_INT64_IS_LONG_LONG
00149 typedef signed long long int64_t;
00150 #else
00151 typedef signed __int64 int64_t;
00152 #endif
00153 #endif
00154
00155 #if ! U_HAVE_UINT64_T
00156 #if U_INT64_IS_LONG_LONG
00157 typedef unsigned long long uint64_t;
00158 #else
00159 typedef unsigned __int64 uint64_t;
00160 #endif
00161 #endif
00162 #endif
00163
00168
00170
00171
00173 #ifndef U_HAVE_NAMESPACE
00174 #define U_HAVE_NAMESPACE 1
00175 #endif
00176
00178 #define U_IS_BIG_ENDIAN 0
00179
00181 #define ICU_USE_THREADS 1
00182
00183
00188 #if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
00189 #define UMTX_STRONG_MEMORY_MODEL 1
00190 #endif
00191
00193 #ifndef U_DEBUG
00194 #ifdef _DEBUG
00195 #define U_DEBUG 1
00196 #else
00197 #define U_DEBUG 0
00198 #endif
00199 #endif
00200
00202 #ifndef U_RELEASE
00203 #ifdef NDEBUG
00204 #define U_RELEASE 1
00205 #else
00206 #define U_RELEASE 0
00207 #endif
00208 #endif
00209
00212 #ifndef U_DISABLE_RENAMING
00213 #define U_DISABLE_RENAMING 0
00214 #endif
00215
00217 #ifndef U_OVERRIDE_CXX_ALLOCATION
00218 #define U_OVERRIDE_CXX_ALLOCATION 1
00219 #endif
00220
00221 #ifndef U_HAVE_PLACEMENT_NEW
00222 #define U_HAVE_PLACEMENT_NEW 1
00223 #endif
00224
00225 #if !defined(U_HAVE_DEBUG_LOCATION_NEW) && defined(_MSC_VER)
00226 #define U_HAVE_DEBUG_LOCATION_NEW 1
00227 #endif
00228
00230 #ifndef U_ENABLE_TRACING
00231 #define U_ENABLE_TRACING 0
00232 #endif
00233
00235 #ifndef U_DEFAULT_SHOW_DRAFT
00236 #define U_DEFAULT_SHOW_DRAFT 1
00237 #endif
00238
00240 #define U_HAVE_LIB_SUFFIX 0
00241 #define U_LIB_SUFFIX_C_NAME
00242 #define U_LIB_SUFFIX_C_NAME_STRING ""
00243
00245
00247
00248
00249 #define U_HAVE_WCHAR_H 1
00250 #define U_SIZEOF_WCHAR_T 2
00251
00252 #define U_HAVE_WCSCPY 1
00253
00262 #if 1
00263 #define U_DECLARE_UTF16(string) L ## string
00264 #endif
00265
00266
00268
00269
00270 #if 1
00271 #define U_TZSET _tzset
00272 #endif
00273 #if 1
00274 #define U_TIMEZONE _timezone
00275 #endif
00276 #if 1
00277 #define U_TZNAME _tzname
00278 #endif
00279 #if 1
00280 #define U_DAYLIGHT _daylight
00281 #endif
00282
00283 #define U_HAVE_MMAP 0
00284 #define U_HAVE_POPEN 0
00285
00288
00290
00291
00292 #ifdef U_STATIC_IMPLEMENTATION
00293 #define U_EXPORT
00294 #else
00295 #define U_EXPORT __declspec(dllexport)
00296 #endif
00297 #define U_EXPORT2 __cdecl
00298 #define U_IMPORT __declspec(dllimport)
00299
00301
00303
00304
00305 #ifndef U_INLINE
00306 # ifdef __cplusplus
00307 # define U_INLINE inline
00308 # else
00309 # define U_INLINE __inline
00310 # endif
00311 #endif
00312
00313 #if defined(_MSC_VER) && defined(_M_IX86) && !defined(_MANAGED)
00314 #define U_ALIGN_CODE(val) __asm align val
00315 #else
00316 #define U_ALIGN_CODE(val)
00317 #endif
00318
00322 #if defined(_MSC_VER) && (_MSC_VER < 1400)
00323 #define U_HAVE_MSVC_2003_OR_EARLIER
00324 #endif
00325
00326
00329
00331
00332
00333 #ifndef U_MAKE
00334 #define U_MAKE "nmake"
00335 #define U_MAKE_IS_NMAKE 1
00336 #endif
00337