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 __STDC_CONSTANT_MACROS
00032 #endif
00033
00035 #if defined(_MSC_VER)
00036 #define U_INT64_IS_LONG_LONG 0
00037 #else
00038 #define U_INT64_IS_LONG_LONG 1
00039 #endif
00040
00042 #ifndef U_HAVE_INTTYPES_H
00043 # if defined(__BORLANDC__) || defined(__MINGW32__)
00044 # define U_HAVE_INTTYPES_H 1
00045 # else
00046 # define U_HAVE_INTTYPES_H 0
00047 # endif
00048 #endif
00049
00064 #ifndef U_IOSTREAM_SOURCE
00065 #define U_IOSTREAM_SOURCE 199711
00066 #endif
00067
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
00105 #if !U_INT64_IS_LONG_LONG
00106 # ifndef INT64_C
00107 # define INT64_C(x) ((int64_t)x)
00108 # endif
00109 # ifndef UINT64_C
00110 # define UINT64_C(x) ((uint64_t)x)
00111 # endif
00112
00113 #endif
00114
00115
00118
00119
00122 #if U_HAVE_INTTYPES_H
00123 #include <inttypes.h>
00124 #else
00125
00126 #if ! U_HAVE_INT8_T
00127 typedef signed char int8_t;
00128 #endif
00129
00130 #if ! U_HAVE_UINT8_T
00131 typedef unsigned char uint8_t;
00132 #endif
00133
00134 #if ! U_HAVE_INT16_T
00135 typedef signed short int16_t;
00136 #endif
00137
00138 #if ! U_HAVE_UINT16_T
00139 typedef unsigned short uint16_t;
00140 #endif
00141
00142 #if ! U_HAVE_INT32_T
00143 typedef signed int int32_t;
00144 #endif
00145
00146 #if ! U_HAVE_UINT32_T
00147 typedef unsigned int uint32_t;
00148 #endif
00149
00150 #if ! U_HAVE_INT64_T
00151 #if U_INT64_IS_LONG_LONG
00152 typedef signed long long int64_t;
00153 #else
00154 typedef signed __int64 int64_t;
00155 #endif
00156 #endif
00157
00158 #if ! U_HAVE_UINT64_T
00159 #if U_INT64_IS_LONG_LONG
00160 typedef unsigned long long uint64_t;
00161 #else
00162 typedef unsigned __int64 uint64_t;
00163 #endif
00164 #endif
00165 #endif
00166
00171
00173
00174
00176 #ifndef U_HAVE_NAMESPACE
00177 #define U_HAVE_NAMESPACE 1
00178 #endif
00179
00181 #define U_IS_BIG_ENDIAN 0
00182
00184 #define ICU_USE_THREADS 1
00185
00186
00191 #if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
00192 #define UMTX_STRONG_MEMORY_MODEL 1
00193 #endif
00194
00196 #ifndef U_DEBUG
00197 #ifdef _DEBUG
00198 #define U_DEBUG 1
00199 #else
00200 #define U_DEBUG 0
00201 #endif
00202 #endif
00203
00205 #ifndef U_RELEASE
00206 #ifdef NDEBUG
00207 #define U_RELEASE 1
00208 #else
00209 #define U_RELEASE 0
00210 #endif
00211 #endif
00212
00215 #ifndef U_DISABLE_RENAMING
00216 #define U_DISABLE_RENAMING 0
00217 #endif
00218
00220 #ifndef U_OVERRIDE_CXX_ALLOCATION
00221 #define U_OVERRIDE_CXX_ALLOCATION 1
00222 #endif
00223
00224 #ifndef U_HAVE_PLACEMENT_NEW
00225 #define U_HAVE_PLACEMENT_NEW 1
00226 #endif
00227
00228 #if !defined(U_HAVE_DEBUG_LOCATION_NEW) && defined(_MSC_VER)
00229 #define U_HAVE_DEBUG_LOCATION_NEW 1
00230 #endif
00231
00233 #ifndef U_ENABLE_TRACING
00234 #define U_ENABLE_TRACING 0
00235 #endif
00236
00238 #ifndef U_DEFAULT_SHOW_DRAFT
00239 #define U_DEFAULT_SHOW_DRAFT 1
00240 #endif
00241
00243 #define U_HAVE_LIB_SUFFIX 0
00244 #define U_LIB_SUFFIX_C_NAME
00245 #define U_LIB_SUFFIX_C_NAME_STRING ""
00246
00248
00250
00251
00252 #define U_HAVE_WCHAR_H 1
00253 #define U_SIZEOF_WCHAR_T 2
00254
00255 #define U_HAVE_WCSCPY 1
00256
00265 #if 1
00266 #define U_DECLARE_UTF16(string) L ## string
00267 #endif
00268
00269
00271
00272
00273 #if 1
00274 #define U_TZSET _tzset
00275 #endif
00276 #if 1
00277 #define U_TIMEZONE _timezone
00278 #endif
00279 #if 1
00280 #define U_TZNAME _tzname
00281 #endif
00282 #if 1
00283 #define U_DAYLIGHT _daylight
00284 #endif
00285
00286 #define U_HAVE_MMAP 0
00287 #define U_HAVE_POPEN 0
00288
00291
00293
00294
00295 #ifdef U_STATIC_IMPLEMENTATION
00296 #define U_EXPORT
00297 #else
00298 #define U_EXPORT __declspec(dllexport)
00299 #endif
00300 #define U_EXPORT2 __cdecl
00301 #define U_IMPORT __declspec(dllimport)
00302
00304
00306
00307
00308 #ifndef U_INLINE
00309 # ifdef __cplusplus
00310 # define U_INLINE inline
00311 # else
00312 # define U_INLINE __inline
00313 # endif
00314 #endif
00315
00316 #if defined(_MSC_VER) && defined(_M_IX86) && !defined(_MANAGED)
00317 #define U_ALIGN_CODE(val) __asm align val
00318 #else
00319 #define U_ALIGN_CODE(val)
00320 #endif
00321
00325 #if defined(_MSC_VER) && (_MSC_VER < 1400)
00326 #define U_HAVE_MSVC_2003_OR_EARLIER
00327 #endif
00328
00329
00332
00334
00335
00336 #ifndef U_MAKE
00337 #define U_MAKE "nmake"
00338 #define U_MAKE_IS_NMAKE 1
00339 #endif
00340