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

pos2.h

00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 1997-2001, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 *******************************************************************************
00008 *
00009 *  FILE NAME : pos2.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 *******************************************************************************
00017 */
00018 
00019 /* Define the platform we're on. */
00020 #ifndef OS2
00021 #define OS2  1
00022 #endif
00023 
00024 /* Define whether inttypes.h is available */
00025 #define U_HAVE_INTTYPES_H 0
00026 
00027 /* Define whether namespace is supported */
00028 #define U_HAVE_NAMESPACE 0
00029 
00030 /*
00031  * Define what support for C++ streams is available.
00032  *     If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available
00033  * (1997711 is the date the ISO/IEC C++ FDIS was published), and then
00034  * one should qualify streams using the std namespace in ICU header
00035  * files.
00036  *     If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is
00037  * available instead (198506 is the date when Stroustrup published
00038  * "An Extensible I/O Facility for C++" at the summer USENIX conference).
00039  *     If U_IOSTREAM_SOURCE is 0, then C++ streams are not available and
00040  * support for them will be silently suppressed in ICU.
00041  *
00042  */
00043 
00044 #ifndef U_IOSTREAM_SOURCE
00045 #define U_IOSTREAM_SOURCE 198506
00046 #endif
00047 
00048 /* Determines whether specific types are available */
00049 #define HAVE_INT8_T 0
00050 #define HAVE_UINT8_T 0
00051 #define HAVE_INT16_T 0
00052 #define HAVE_UINT16_T 0
00053 #define HAVE_INT32_T  0
00054 #define HAVE_UINT32_T 0
00055 #define HAVE_BOOL_T 0
00056 
00057 /* Determines the endianness of the platform */
00058 #define U_IS_BIG_ENDIAN 0
00059 
00060 /*===========================================================================*/
00061 /* Generic data types                                                        */
00062 /*===========================================================================*/
00063 
00064 /* If your platform does not have the <inttypes.h> header, you may
00065    need to edit the typedefs below. */
00066 #if U_HAVE_INTTYPES_H
00067 #include <inttypes.h>
00068 #else
00069 
00070 #if ! HAVE_INT8_T
00071 typedef signed char int8_t;
00072 #endif
00073 
00074 #if ! HAVE_UINT8_T
00075 typedef unsigned char uint8_t;
00076 #endif
00077 
00078 #if ! HAVE_INT16_T
00079 typedef signed short int16_t;
00080 #endif
00081 
00082 #if ! HAVE_UINT16_T
00083 typedef unsigned short uint16_t;
00084 #endif
00085 
00086 #if ! HAVE_INT32_T
00087 typedef signed long int32_t;
00088 #endif
00089 
00090 #if ! HAVE_UINT32_T
00091 typedef unsigned long uint32_t;
00092 #endif
00093 
00094 #endif
00095 
00096 /*===========================================================================*/
00097 /* Character data types                                                      */
00098 /*===========================================================================*/
00099 
00100 #define U_SIZEOF_WCHAR_T 2
00101 
00102 /*===========================================================================*/
00103 /* Information about POSIX support                                           */
00104 /*===========================================================================*/
00105 
00106 #define U_TZSET     _tzset
00107 #define U_TIMEZONE  _timezone
00108 #define U_TZNAME    _tzname
00109 
00110 /*===========================================================================*/
00111 /* Symbol import-export control                                              */
00112 /*===========================================================================*/
00113 
00114 #define U_EXPORT
00115 #define U_EXPORT2
00116 #define U_IMPORT
00117 
00118 /*===========================================================================*/
00119 /* Programs used by ICU code                                                 */
00120 /*===========================================================================*/
00121 
00122 #define U_MAKE  "gmake"

Generated on Sun May 22 20:17:33 2005 for ICU 2.1 by  doxygen 1.4.2