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

pmacos.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 : pmacos.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 * 08/26/00 srl Moved to pmacos.h 00017 ****************************************************************************** 00018 */ 00019 00020 /* Define the platform we're on. */ 00021 #ifndef macintosh 00022 #define macintosh 00023 #endif 00024 00025 #ifndef XP_MAC 00026 #define XP_MAC 00027 #endif 00028 00029 /* We want the console window (argc/argv) */ 00030 /* 00031 #ifndef XP_MAC_CONSOLE 00032 #define XP_MAC_CONSOLE 00033 #endif 00034 */ 00035 00036 /* Define whether inttypes.h is available */ 00037 #define U_HAVE_INTTYPES_H 0 00038 00039 /* Define whether namespace is supported */ 00040 #define U_HAVE_NAMESPACE 1 00041 00042 /* 00043 * Define what support for C++ streams is available. 00044 * If U_IOSTREAM_SOURCE is set to 199711, then <iostream> is available 00045 * (1997711 is the date the ISO/IEC C++ FDIS was published), and then 00046 * one should qualify streams using the std namespace in ICU header 00047 * files. 00048 * If U_IOSTREAM_SOURCE is set to 198506, then <iostream.h> is 00049 * available instead (198506 is the date when Stroustrup published 00050 * "An Extensible I/O Facility for C++" at the summer USENIX conference). 00051 * If U_IOSTREAM_SOURCE is 0, then C++ streams are not available and 00052 * support for them will be silently suppressed in ICU. 00053 * 00054 */ 00055 00056 #ifndef U_IOSTREAM_SOURCE 00057 #define U_IOSTREAM_SOURCE 198506 /* Wish we could use 199711 but that breaks while compiling chariter.cpp */ 00058 #endif 00059 00060 /* Determines whether specific types are available */ 00061 #define HAVE_INT8_T 0 00062 #define HAVE_UINT8_T 0 00063 #define HAVE_INT16_T 0 00064 #define HAVE_UINT16_T 0 00065 #define HAVE_INT32_T 0 00066 #define HAVE_UINT32_T 0 00067 #define HAVE_BOOL_T 0 00068 00069 /* Determines the endianness of the platform */ 00070 #define U_IS_BIG_ENDIAN 1 00071 00072 /*===========================================================================*/ 00073 /* Generic data types */ 00074 /*===========================================================================*/ 00075 00076 /* If your platform does not have the <inttypes.h> header, you may 00077 need to edit the typedefs below. */ 00078 #if U_HAVE_INTTYPES_H 00079 #include <inttypes.h> 00080 #else 00081 00082 #if ! HAVE_INT8_T 00083 typedef signed char int8_t; 00084 #endif 00085 00086 #if ! HAVE_UINT8_T 00087 typedef unsigned char uint8_t; 00088 #endif 00089 00090 #if ! HAVE_INT16_T 00091 typedef signed short int16_t; 00092 #endif 00093 00094 #if ! HAVE_UINT16_T 00095 typedef unsigned short uint16_t; 00096 #endif 00097 00098 #if ! HAVE_INT32_T 00099 # if defined(_LP64) 00100 typedef signed int int32_t; 00101 # else 00102 typedef signed long int32_t; 00103 # endif 00104 #endif 00105 00106 #if ! HAVE_UINT32_T 00107 # if defined(_LP64) 00108 typedef unsigned int uint32_t; 00109 # else 00110 typedef unsigned long uint32_t; 00111 # endif 00112 #endif 00113 00114 #endif 00115 00116 /*===========================================================================*/ 00117 /* Character data types */ 00118 /*===========================================================================*/ 00119 00120 #define U_HAVE_WCHAR_H 0 00121 #define U_SIZEOF_WCHAR_T 2 00122 00123 #define U_HAVE_WCSCPY 0 00124 00125 /*===========================================================================*/ 00126 /* Symbol import-export control */ 00127 /*===========================================================================*/ 00128 00129 /* should be pragmas? */ 00130 00131 #define U_EXPORT /*__declspec(dllexport)*/ 00132 #define U_EXPORT2 00133 #define U_IMPORT /*__declspec(dllimport)*/ 00134 00135 /*===========================================================================*/ 00136 /* Programs used by ICU code */ 00137 /*===========================================================================*/ 00138 00139 #define U_MAKE "Make" 00140

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