Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

pos400.h

00001 /* 00002 ******************************************************************************* 00003 * 00004 * Copyright (C) 1997-2003, International Business Machines 00005 * Corporation and others. All Rights Reserved. 00006 * 00007 ******************************************************************************* 00008 * 00009 * FILE NAME : pos400.h 00010 * 00011 * Date Name Description 00012 * 05/13/98 nos Creation (content moved here from ptypes.h). 00013 * 03/02/99 stephen Added AS400 support. 00014 * 03/30/99 stephen Added Linux support. 00015 * 04/13/99 stephen Reworked for autoconf. 00016 * 09/21/99 barry Created new for OS/400 platform. 00017 ******************************************************************************* 00018 */ 00019 00020 /* Define the platform we're on. */ 00021 #ifndef OS400 00022 #define OS400 00023 #endif 00024 00025 /* Define whether inttypes.h is available */ 00026 #define U_HAVE_INTTYPES_H 0 00027 00028 /* 00029 * Define what support for C++ streams is available. 00030 * If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available 00031 * (1997711 is the date the ISO/IEC C++ FDIS was published), and then 00032 * one should qualify streams using the std namespace in ICU header 00033 * files. 00034 * If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is 00035 * available instead (198506 is the date when Stroustrup published 00036 * "An Extensible I/O Facility for C++" at the summer USENIX conference). 00037 * If U_IOSTREAM_SOURCE is 0, then C++ streams are not available and 00038 * support for them will be silently suppressed in ICU. 00039 * 00040 */ 00041 00042 #ifndef U_IOSTREAM_SOURCE 00043 #define U_IOSTREAM_SOURCE 198506 00044 #endif 00045 00046 /* Determines whether specific types are available */ 00047 #define U_HAVE_INT8_T 0 00048 #define U_HAVE_UINT8_T 0 00049 #define U_HAVE_INT16_T 0 00050 #define U_HAVE_UINT16_T 0 00051 #define U_HAVE_INT32_T 0 00052 #define U_HAVE_UINT32_T 0 00053 #define U_HAVE_INT64_T 0 00054 #define U_HAVE_UINT64_T 0 00055 00056 /* Define whether namespace is supported */ 00057 #define U_HAVE_NAMESPACE 0 00058 00059 /* Determines the endianness of the platform */ 00060 #define U_IS_BIG_ENDIAN 1 00061 00062 /* 1 or 0 to enable or disable threads. If undefined, default is: enable threads. */ 00063 #define ICU_USE_THREADS 1 00064 00065 /* Determine whether to disable renaming or not. This overrides the 00066 setting in umachine.h which is for all platforms. */ 00067 #ifndef U_OVERRIDE_CXX_ALLOCATION 00068 #define U_OVERRIDE_CXX_ALLOCATION 1 00069 #endif 00070 00071 /* Determine whether to enable tracing. */ 00072 #ifndef U_ENABLE_TRACING 00073 #define U_ENABLE_TRACING 1 00074 #endif 00075 00076 /*===========================================================================*/ 00077 /* Generic data types */ 00078 /*===========================================================================*/ 00079 00080 /* If your platform does not have the <inttypes.h> header, you may 00081 need to edit the typedefs below. */ 00082 #if U_HAVE_INTTYPES_H 00083 #include <inttypes.h> 00084 #else 00085 00086 #if ! U_HAVE_INT8_T 00087 typedef signed char int8_t; 00088 #endif 00089 00090 #if ! U_HAVE_UINT8_T 00091 typedef unsigned char uint8_t; 00092 #endif 00093 00094 #if ! U_HAVE_INT16_T 00095 typedef signed short int16_t; 00096 #endif 00097 00098 #if ! U_HAVE_UINT16_T 00099 typedef unsigned short uint16_t; 00100 #endif 00101 00102 #if ! U_HAVE_INT32_T 00103 typedef signed long int32_t; 00104 #endif 00105 00106 #if ! U_HAVE_UINT32_T 00107 typedef unsigned long uint32_t; 00108 #endif 00109 00110 #if ! U_HAVE_INT64_T 00111 typedef signed long long int64_t; 00112 #endif 00113 00114 #if ! U_HAVE_UINT64_T 00115 typedef unsigned long long uint64_t; 00116 #endif 00117 00118 #endif 00119 00120 /*===========================================================================*/ 00121 /* Character data types */ 00122 /*===========================================================================*/ 00123 00124 #define U_CHARSET_FAMILY 1 00125 00126 /*===========================================================================*/ 00127 /* Information about wchar support */ 00128 /*===========================================================================*/ 00129 00130 #define U_HAVE_WCHAR_H 1 00131 #define U_SIZEOF_WCHAR_T 2 00132 00133 #define U_HAVE_WCSCPY 1 00134 00135 /*===========================================================================*/ 00136 /* Information about POSIX support */ 00137 /*===========================================================================*/ 00138 00139 #define U_HAVE_NL_LANGINFO 0 00140 #define U_HAVE_NL_LANGINFO_CODESET 0 00141 #define U_NL_LANGINFO_CODESET 00142 00143 /* These cannot be defined for this platform 00144 #define U_TZSET 00145 #define U_HAVE_TIMEZONE 0 00146 #if U_HAVE_TIMEZONE 00147 # define U_TIMEZONE 00148 #endif 00149 #define U_TZNAME 00150 */ 00151 00152 #define U_HAVE_MMAP 1 00153 00154 /*===========================================================================*/ 00155 /* Symbol import-export control */ 00156 /*===========================================================================*/ 00157 00158 #define U_EXPORT 00159 #define U_EXPORT2 00160 #define U_IMPORT 00161 00162 /*===========================================================================*/ 00163 /* Code alignment and C function inlining */ 00164 /*===========================================================================*/ 00165 00166 #ifndef U_INLINE 00167 #define U_INLINE 00168 #endif 00169 00170 #define U_ALIGN_CODE(n) 00171 00172 /*===========================================================================*/ 00173 /* Programs used by ICU code */ 00174 /*===========================================================================*/ 00175 00176 #define U_MAKE "gmake" 00177

Generated on Wed Sep 15 17:18:09 2004 for ICU 2.8 by doxygen 1.3.8