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 #define INT64_C(x) ((int64_t)x)
00101 #define UINT64_C(x) ((uint64_t)x)
00102
00103 #endif
00104
00105
00106
00107
00108
00109
00110
00111 #if U_HAVE_INTTYPES_H
00112 #include <inttypes.h>
00113 #else
00114
00115 #if ! U_HAVE_INT8_T
00116 typedef signed char int8_t;
00117 #endif
00118
00119 #if ! U_HAVE_UINT8_T
00120 typedef unsigned char uint8_t;
00121 #endif
00122
00123 #if ! U_HAVE_INT16_T
00124 typedef signed short int16_t;
00125 #endif
00126
00127 #if ! U_HAVE_UINT16_T
00128 typedef unsigned short uint16_t;
00129 #endif
00130
00131 #if ! U_HAVE_INT32_T
00132 typedef signed int int32_t;
00133 #endif
00134
00135 #if ! U_HAVE_UINT32_T
00136 typedef unsigned int uint32_t;
00137 #endif
00138
00139 #if ! U_HAVE_INT64_T
00140 #if U_INT64_IS_LONG_LONG
00141 typedef signed long long int64_t;
00142 #else
00143 typedef signed __int64 int64_t;
00144 #endif
00145 #endif
00146
00147 #if ! U_HAVE_UINT64_T
00148 #if U_INT64_IS_LONG_LONG
00149 typedef unsigned long long uint64_t;
00150 #else
00151 typedef unsigned __int64 uint64_t;
00152 #endif
00153 #endif
00154 #endif
00155
00156
00157
00158
00159
00160
00161 #ifndef U_HAVE_NAMESPACE
00162 #define U_HAVE_NAMESPACE 1
00163 #endif
00164
00165
00166 #define U_IS_BIG_ENDIAN 0
00167
00168
00169 #define ICU_USE_THREADS 1
00170
00171
00172 #define UMTX_STRONG_MEMORY_MODEL 1
00173
00174 #ifndef U_DEBUG
00175 #ifdef _DEBUG
00176 #define U_DEBUG 1
00177 #else
00178 #define U_DEBUG 0
00179 #endif
00180 #endif
00181
00182 #ifndef U_RELEASE
00183 #ifdef NDEBUG
00184 #define U_RELEASE 1
00185 #else
00186 #define U_RELEASE 0
00187 #endif
00188 #endif
00189
00190
00191
00192 #ifndef U_DISABLE_RENAMING
00193 #define U_DISABLE_RENAMING 0
00194 #endif
00195
00196
00197 #ifndef U_OVERRIDE_CXX_ALLOCATION
00198 #define U_OVERRIDE_CXX_ALLOCATION 1
00199 #endif
00200
00201 #ifndef U_HAVE_PLACEMENT_NEW
00202 #define U_HAVE_PLACEMENT_NEW 1
00203 #endif
00204
00205 #if !defined(U_HAVE_DEBUG_LOCATION_NEW) && defined(_MSC_VER)
00206 #define U_HAVE_DEBUG_LOCATION_NEW 1
00207 #endif
00208
00209
00210 #ifndef U_ENABLE_TRACING
00211 #define U_ENABLE_TRACING 1
00212 #endif
00213
00214
00215 #ifndef U_DEFAULT_SHOW_DRAFT
00216 #define U_DEFAULT_SHOW_DRAFT 1
00217 #endif
00218
00219
00220 #define U_HAVE_LIB_SUFFIX 0
00221 #define U_LIB_SUFFIX_C_NAME
00222 #define U_LIB_SUFFIX_C_NAME_STRING ""
00223
00224
00225
00226
00227
00228 #define U_HAVE_WCHAR_H 1
00229 #define U_SIZEOF_WCHAR_T 2
00230
00231 #define U_HAVE_WCSCPY 1
00232
00233
00234
00235
00236
00237 #if 1
00238 #define U_TZSET _tzset
00239 #endif
00240 #if 1
00241 #define U_TIMEZONE _timezone
00242 #endif
00243 #if 1
00244 #define U_TZNAME _tzname
00245 #endif
00246
00247 #define U_HAVE_MMAP 0
00248 #define U_HAVE_POPEN 0
00249
00250
00251
00252
00253
00254 #ifdef U_STATIC_IMPLEMENTATION
00255 #define U_EXPORT
00256 #else
00257 #define U_EXPORT __declspec(dllexport)
00258 #endif
00259 #define U_EXPORT2 __cdecl
00260 #define U_IMPORT __declspec(dllimport)
00261
00262
00263
00264
00265
00266 #ifndef U_INLINE
00267 # ifdef __cplusplus
00268 # define U_INLINE inline
00269 # else
00270 # define U_INLINE __inline
00271 # endif
00272 #endif
00273
00274 #if defined(_MSC_VER) && defined(_M_IX86)
00275 #define U_ALIGN_CODE(val) __asm align val
00276 #else
00277 #define U_ALIGN_CODE(val)
00278 #endif
00279
00280
00281
00282
00283
00284
00285 #ifndef U_MAKE
00286 #define U_MAKE "nmake"
00287 #define U_MAKE_IS_NMAKE 1
00288 #endif