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

pos400.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 1997-1999, 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 HAVE_INT8_T 0
00048 #define HAVE_UINT8_T 0
00049 #define HAVE_INT16_T 0
00050 #define HAVE_UINT16_T 0
00051 #define HAVE_INT32_T 0
00052 #define HAVE_UINT32_T 0
00053 #define HAVE_BOOL_T 0
00054 
00055 /* Determines the endianness of the platform */
00056 #define U_IS_BIG_ENDIAN 1
00057 
00058 /*===========================================================================*/
00059 /* Generic data types                                                        */
00060 /*===========================================================================*/
00061 
00062 /* If your platform does not have the <inttypes.h> header, you may
00063    need to edit the typedefs below. */
00064 #if U_HAVE_INTTYPES_H
00065 #include <inttypes.h>
00066 #else
00067 
00068 #if ! HAVE_INT8_T
00069 typedef signed char int8_t;
00070 #endif
00071 
00072 #if ! HAVE_UINT8_T
00073 typedef unsigned char uint8_t;
00074 #endif
00075 
00076 #if ! HAVE_INT16_T
00077 typedef signed short int16_t;
00078 #endif
00079 
00080 #if ! HAVE_UINT16_T
00081 typedef unsigned short uint16_t;
00082 #endif
00083 
00084 #if ! HAVE_INT32_T
00085 typedef signed long int32_t;
00086 #endif
00087 
00088 #if ! HAVE_UINT32_T
00089 typedef unsigned long uint32_t;
00090 #endif
00091 
00092 #endif
00093 
00094 #include <limits.h>
00095 #define T_INT32_MAX (LONG_MAX)
00096 #define T_INT32_MIN (LONG_MIN)
00097 
00098 /*===========================================================================*/
00099 /* Character data types                                                      */
00100 /*===========================================================================*/
00101 
00102 #define U_CHARSET_FAMILY 1
00103 #define U_SIZEOF_WCHAR_T 2
00104 
00105 /*===========================================================================*/
00106 /* Symbol import-export control                                              */
00107 /*===========================================================================*/
00108 
00109 #define U_EXPORT
00110 #define U_EXPORT2
00111 #define U_IMPORT
00112 
00113 /*===========================================================================*/
00114 /* Programs used by ICU code                                                 */
00115 /*===========================================================================*/
00116 
00117 #define U_MAKE  "gmake"

Generated at Fri Dec 15 12:12:34 2000 for ICU 1.7 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000