00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00024
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
00035
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
00042
00043 #ifndef U_HAVE_INTTYPES_H
00044 #define U_HAVE_INTTYPES_H 0
00045 #endif
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061 #ifndef U_IOSTREAM_SOURCE
00062 #define U_IOSTREAM_SOURCE 199711
00063 #endif
00064
00065
00066 #ifndef U_HAVE_INT8_T
00067 #define U_HAVE_INT8_T U_HAVE_INTTYPES_H
00068 #endif
00069
00070 #ifndef U_HAVE_UINT8_T
00071 #define U_HAVE_UINT8_T U_HAVE_INTTYPES_H
00072 #endif
00073
00074 #ifndef U_HAVE_INT16_T
00075 #define U_HAVE_INT16_T U_HAVE_INTTYPES_H
00076 #endif
00077
00078 #ifndef U_HAVE_UINT16_T
00079 #define U_HAVE_UINT16_T U_HAVE_INTTYPES_H
00080 #endif
00081
00082 #ifndef U_HAVE_INT32_T
00083 #define U_HAVE_INT32_T U_HAVE_INTTYPES_H
00084 #endif
00085
00086 #ifndef U_HAVE_UINT32_T
00087 #define U_HAVE_UINT32_T U_HAVE_INTTYPES_H
00088 #endif
00089
00090 #ifndef U_HAVE_INT64_T
00091 #define U_HAVE_INT64_T U_HAVE_INTTYPES_H
00092 #endif
00093
00094 #ifndef U_HAVE_UINT64_T
00095 #define U_HAVE_UINT64_T U_HAVE_INTTYPES_H
00096 #endif
00097
00098
00099 #if !U_INT64_IS_LONG_LONG
00100 # ifndef INT64_C
00101 # define INT64_C(x) ((int64_t)x)
00102 # endif
00103 # ifndef UINT64_C
00104 # define UINT64_C(x) ((uint64_t)x)
00105 # endif
00106
00107 #endif
00108
00109
00110
00111
00112
00113
00114
00115 #if U_HAVE_INTTYPES_H
00116 #include <inttypes.h>
00117 #else
00118
00119 #if ! U_HAVE_INT8_T
00120 typedef signed char int8_t;
00121 #endif
00122
00123 #if ! U_HAVE_UINT8_T
00124 typedef unsigned char uint8_t;
00125 #endif
00126
00127 #if ! U_HAVE_INT16_T
00128 typedef signed short int16_t;
00129 #endif
00130
00131 #if ! U_HAVE_UINT16_T
00132 typedef unsigned short uint16_t;
00133 #endif
00134
00135 #if ! U_HAVE_INT32_T
00136 typedef signed int int32_t;
00137 #endif
00138
00139 #if ! U_HAVE_UINT32_T
00140 typedef unsigned int uint32_t;
00141 #endif
00142
00143 #if ! U_HAVE_INT64_T
00144 #if U_INT64_IS_LONG_LONG
00145 typedef signed long long int64_t;
00146 #else
00147 typedef signed __int64 int64_t;
00148 #endif
00149 #endif
00150
00151 #if ! U_HAVE_UINT64_T
00152 #if U_INT64_IS_LONG_LONG
00153 typedef unsigned long long uint64_t;
00154 #else
00155 typedef unsigned __int64 uint64_t;
00156 #endif
00157 #endif
00158 #endif
00159
00160
00161
00162
00163
00164
00165 #ifndef U_HAVE_NAMESPACE
00166 #define U_HAVE_NAMESPACE 1
00167 #endif
00168
00169
00170 #define U_IS_BIG_ENDIAN 0
00171
00172
00173 #define ICU_USE_THREADS 1
00174
00175
00176
00177
00178
00179
00180 #if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
00181 #define UMTX_STRONG_MEMORY_MODEL 1
00182 #endif
00183
00184 #ifndef U_DEBUG
00185 #ifdef _DEBUG
00186 #define U_DEBUG 1
00187 #else
00188 #define U_DEBUG 0
00189 #endif
00190 #endif
00191
00192 #ifndef U_RELEASE
00193 #ifdef NDEBUG
00194 #define U_RELEASE 1
00195 #else
00196 #define U_RELEASE 0
00197 #endif
00198 #endif
00199
00200
00201
00202 #ifndef U_DISABLE_RENAMING
00203 #define U_DISABLE_RENAMING 0
00204 #endif
00205
00206
00207 #ifndef U_OVERRIDE_CXX_ALLOCATION
00208 #define U_OVERRIDE_CXX_ALLOCATION 1
00209 #endif
00210
00211 #ifndef U_HAVE_PLACEMENT_NEW
00212 #define U_HAVE_PLACEMENT_NEW 1
00213 #endif
00214
00215 #if !defined(U_HAVE_DEBUG_LOCATION_NEW) && defined(_MSC_VER)
00216 #define U_HAVE_DEBUG_LOCATION_NEW 1
00217 #endif
00218
00219
00220 #ifndef U_ENABLE_TRACING
00221 #define U_ENABLE_TRACING 0
00222 #endif
00223
00224
00225 #ifndef U_DEFAULT_SHOW_DRAFT
00226 #define U_DEFAULT_SHOW_DRAFT 1
00227 #endif
00228
00229
00230 #define U_HAVE_LIB_SUFFIX 0
00231 #define U_LIB_SUFFIX_C_NAME
00232 #define U_LIB_SUFFIX_C_NAME_STRING ""
00233
00234
00235
00236
00237
00238 #define U_HAVE_WCHAR_H 1
00239 #define U_SIZEOF_WCHAR_T 2
00240
00241 #define U_HAVE_WCSCPY 1
00242
00249 #if 1
00250 #define U_DECLARE_UTF16(string) L ## string
00251 #endif
00252
00253
00254
00255
00256
00257 #if 1
00258 #define U_TZSET _tzset
00259 #endif
00260 #if 1
00261 #define U_TIMEZONE _timezone
00262 #endif
00263 #if 1
00264 #define U_TZNAME _tzname
00265 #endif
00266 #if 1
00267 #define U_DAYLIGHT _daylight
00268 #endif
00269
00270 #define U_HAVE_MMAP 0
00271 #define U_HAVE_POPEN 0
00272
00273
00274
00275
00276
00277 #ifdef U_STATIC_IMPLEMENTATION
00278 #define U_EXPORT
00279 #else
00280 #define U_EXPORT __declspec(dllexport)
00281 #endif
00282 #define U_EXPORT2 __cdecl
00283 #define U_IMPORT __declspec(dllimport)
00284
00285
00286
00287
00288
00289 #ifndef U_INLINE
00290 # ifdef __cplusplus
00291 # define U_INLINE inline
00292 # else
00293 # define U_INLINE __inline
00294 # endif
00295 #endif
00296
00297 #if defined(_MSC_VER) && defined(_M_IX86) && !defined(_MANAGED)
00298 #define U_ALIGN_CODE(val) __asm align val
00299 #else
00300 #define U_ALIGN_CODE(val)
00301 #endif
00302
00303
00304
00305
00306
00307
00308 #ifndef U_MAKE
00309 #define U_MAKE "nmake"
00310 #define U_MAKE_IS_NMAKE 1
00311 #endif