Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

pos400.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 1997-2001, 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 /* Define whether namespace is supported */
00029 #define U_HAVE_NAMESPACE 0
00030 
00031 /*
00032  * Define what support for C++ streams is available.
00033  *     If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available
00034  * (1997711 is the date the ISO/IEC C++ FDIS was published), and then
00035  * one should qualify streams using the std namespace in ICU header
00036  * files.
00037  *     If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is
00038  * available instead (198506 is the date when Stroustrup published
00039  * "An Extensible I/O Facility for C++" at the summer USENIX conference).
00040  *     If U_IOSTREAM_SOURCE is 0, then C++ streams are not available and
00041  * support for them will be silently suppressed in ICU.
00042  *
00043  */
00044 
00045 #ifndef U_IOSTREAM_SOURCE
00046 #define U_IOSTREAM_SOURCE 198506
00047 #endif
00048 
00049 /* Determines whether specific types are available */
00050 #define HAVE_INT8_T 0
00051 #define HAVE_UINT8_T 0
00052 #define HAVE_INT16_T 0
00053 #define HAVE_UINT16_T 0
00054 #define HAVE_INT32_T 0
00055 #define HAVE_UINT32_T 0
00056 #define HAVE_BOOL_T 0
00057 
00058 /* Determines the endianness of the platform */
00059 #define U_IS_BIG_ENDIAN 1
00060 
00061 #define HAVE_DLOPEN     0
00062 
00063 /* 1 or 0 to enable or disable threads.  If undefined, default is: enable threads. */
00064 #define ICU_USE_THREADS 1
00065 
00066 /*===========================================================================*/
00067 /* Generic data types                                                        */
00068 /*===========================================================================*/
00069 
00070 /* If your platform does not have the <inttypes.h> header, you may
00071    need to edit the typedefs below. */
00072 #if U_HAVE_INTTYPES_H
00073 #include <inttypes.h>
00074 #else
00075 
00076 #if ! HAVE_INT8_T
00077 typedef signed char int8_t;
00078 #endif
00079 
00080 #if ! HAVE_UINT8_T
00081 typedef unsigned char uint8_t;
00082 #endif
00083 
00084 #if ! HAVE_INT16_T
00085 typedef signed short int16_t;
00086 #endif
00087 
00088 #if ! HAVE_UINT16_T
00089 typedef unsigned short uint16_t;
00090 #endif
00091 
00092 #if ! HAVE_INT32_T
00093 typedef signed long int32_t;
00094 #endif
00095 
00096 #if ! HAVE_UINT32_T
00097 typedef unsigned long uint32_t;
00098 #endif
00099 
00100 #endif
00101 
00102 /*===========================================================================*/
00103 /* Character data types                                                      */
00104 /*===========================================================================*/
00105 
00106 #define U_CHARSET_FAMILY 1
00107 
00108 /*===========================================================================*/
00109 /* Information about wchar support                                           */
00110 /*===========================================================================*/
00111 
00112 #define U_HAVE_WCHAR_H   1
00113 #define U_SIZEOF_WCHAR_T 2
00114 
00115 #define U_HAVE_WCSCPY    1
00116 
00117 /*===========================================================================*/
00118 /* Information about POSIX support                                           */
00119 /*===========================================================================*/
00120 
00121 #define U_HAVE_NL_LANGINFO              0
00122 #define U_HAVE_NL_LANGINFO_CODESET      0
00123 #define U_NL_LANGINFO_CODESET
00124 
00125 /* These cannot be defined for this platform
00126 #define U_TZSET
00127 #define U_TIMEZONE
00128 #define U_TZNAME
00129 */
00130 
00131 /*===========================================================================*/
00132 /* Symbol import-export control                                              */
00133 /*===========================================================================*/
00134 
00135 #define U_EXPORT
00136 #define U_EXPORT2
00137 #define U_IMPORT
00138 
00139 /*===========================================================================*/
00140 /* Programs used by ICU code                                                 */
00141 /*===========================================================================*/
00142 
00143 #define U_MAKE  "gmake"

Generated on Mon Dec 3 19:00:22 2001 for ICU 2.0 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001