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 #ifdef __CYGWIN__
00036 #define U_HAVE_INTTYPES_H 1
00037 #endif
00038
00039
00040 #if defined(_MSC_VER)
00041 #define U_INT64_IS_LONG_LONG 0
00042 #else
00043 #define U_INT64_IS_LONG_LONG 1
00044 #endif
00045
00046
00047 #ifndef U_HAVE_INTTYPES_H
00048 #define U_HAVE_INTTYPES_H 0
00049 #endif
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065 #ifndef U_IOSTREAM_SOURCE
00066 #define U_IOSTREAM_SOURCE 199711
00067 #endif
00068
00069
00070 #ifndef U_HAVE_INT8_T
00071 #define U_HAVE_INT8_T U_HAVE_INTTYPES_H
00072 #endif
00073
00074 #ifndef U_HAVE_UINT8_T
00075 #define U_HAVE_UINT8_T U_HAVE_INTTYPES_H
00076 #endif
00077
00078 #ifndef U_HAVE_INT16_T
00079 #define U_HAVE_INT16_T U_HAVE_INTTYPES_H
00080 #endif
00081
00082 #ifndef U_HAVE_UINT16_T
00083 #define U_HAVE_UINT16_T U_HAVE_INTTYPES_H
00084 #endif
00085
00086 #ifndef U_HAVE_INT32_T
00087 #define U_HAVE_INT32_T U_HAVE_INTTYPES_H
00088 #endif
00089
00090 #ifndef U_HAVE_UINT32_T
00091 #define U_HAVE_UINT32_T U_HAVE_INTTYPES_H
00092 #endif
00093
00094 #ifndef U_HAVE_INT64_T
00095 #define U_HAVE_INT64_T U_HAVE_INTTYPES_H
00096 #endif
00097
00098 #ifndef U_HAVE_UINT64_T
00099 #define U_HAVE_UINT64_T U_HAVE_INTTYPES_H
00100 #endif
00101
00102
00103 #if !U_INT64_IS_LONG_LONG
00104 # ifndef INT64_C
00105 # define INT64_C(x) ((int64_t)x)
00106 # endif
00107 # ifndef UINT64_C
00108 # define UINT64_C(x) ((uint64_t)x)
00109 # endif
00110
00111 #endif
00112
00113
00114
00115
00116
00117
00118
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
00164
00165
00166
00167
00168
00169 #ifndef U_HAVE_NAMESPACE
00170 #define U_HAVE_NAMESPACE 1
00171 #endif
00172
00173
00174 #define U_IS_BIG_ENDIAN 0
00175
00176
00177 #define ICU_USE_THREADS 1
00178
00179
00180
00181
00182
00183
00184 #if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
00185 #define UMTX_STRONG_MEMORY_MODEL 1
00186 #endif
00187
00188 #ifndef U_DEBUG
00189 #ifdef _DEBUG
00190 #define U_DEBUG 1
00191 #else
00192 #define U_DEBUG 0
00193 #endif
00194 #endif
00195
00196 #ifndef U_RELEASE
00197 #ifdef NDEBUG
00198 #define U_RELEASE 1
00199 #else
00200 #define U_RELEASE 0
00201 #endif
00202 #endif
00203
00204
00205
00206 #ifndef U_DISABLE_RENAMING
00207 #define U_DISABLE_RENAMING 0
00208 #endif
00209
00210
00211 #ifndef U_OVERRIDE_CXX_ALLOCATION
00212 #define U_OVERRIDE_CXX_ALLOCATION 1
00213 #endif
00214
00215 #ifndef U_HAVE_PLACEMENT_NEW
00216 #define U_HAVE_PLACEMENT_NEW 1
00217 #endif
00218
00219 #if !defined(U_HAVE_DEBUG_LOCATION_NEW) && defined(_MSC_VER)
00220 #define U_HAVE_DEBUG_LOCATION_NEW 1
00221 #endif
00222
00223
00224 #ifndef U_ENABLE_TRACING
00225 #define U_ENABLE_TRACING 0
00226 #endif
00227
00228
00229 #ifndef U_DEFAULT_SHOW_DRAFT
00230 #define U_DEFAULT_SHOW_DRAFT 1
00231 #endif
00232
00233
00234 #define U_HAVE_LIB_SUFFIX 0
00235 #define U_LIB_SUFFIX_C_NAME
00236 #define U_LIB_SUFFIX_C_NAME_STRING ""
00237
00238
00239
00240
00241
00242 #define U_HAVE_WCHAR_H 1
00243 #define U_SIZEOF_WCHAR_T 2
00244
00245 #define U_HAVE_WCSCPY 1
00246
00253 #if 1
00254 #define U_DECLARE_UTF16(string) L ## string
00255 #endif
00256
00257
00258
00259
00260
00261 #if 1
00262 #define U_TZSET _tzset
00263 #endif
00264 #if 1
00265 #define U_TIMEZONE _timezone
00266 #endif
00267 #if 1
00268 #define U_TZNAME _tzname
00269 #endif
00270 #if 1
00271 #define U_DAYLIGHT _daylight
00272 #endif
00273
00274 #define U_HAVE_MMAP 0
00275 #define U_HAVE_POPEN 0
00276
00277
00278
00279
00280
00281 #ifdef U_STATIC_IMPLEMENTATION
00282 #define U_EXPORT
00283 #else
00284 #define U_EXPORT __declspec(dllexport)
00285 #endif
00286 #define U_EXPORT2 __cdecl
00287 #define U_IMPORT __declspec(dllimport)
00288
00289
00290
00291
00292
00293 #ifndef U_INLINE
00294 # ifdef __cplusplus
00295 # define U_INLINE inline
00296 # else
00297 # define U_INLINE __inline
00298 # endif
00299 #endif
00300
00301 #if defined(_MSC_VER) && defined(_M_IX86) && !defined(_MANAGED)
00302 #define U_ALIGN_CODE(val) __asm align val
00303 #else
00304 #define U_ALIGN_CODE(val)
00305 #endif
00306
00307
00308
00309
00310
00311
00312 #ifndef U_MAKE
00313 #define U_MAKE "nmake"
00314 #define U_MAKE_IS_NMAKE 1
00315 #endif