• Classes
  • Modules
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

pos400.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  * 
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  * 
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 /*
00019  * $Id: pos400.h 568078 2007-08-21 11:43:25Z amassari $
00020  */
00021 
00022 /* Define the platform we're on. */
00023 #ifndef OS400
00024 #define OS400
00025 #endif
00026 
00027 /* Define whether inttypes.h is available */
00028 #define HAVE_INTTYPES_H 0
00029 
00030 /* Determines whether specific types are available */
00031 #define HAVE_INT8_T 0
00032 #define HAVE_UINT8_T 0
00033 #define HAVE_INT16_T 0
00034 #define HAVE_UINT16_T 0
00035 #define HAVE_INT32_T 0
00036 #define HAVE_UINT32_T 0
00037 #define HAVE_BOOL_T 0
00038 
00039 /* Determines the endianness of the platform */
00040 #define U_IS_BIG_ENDIAN 1
00041 
00042 /*===========================================================================*/
00043 /* Generic data types                                                        */
00044 /*===========================================================================*/
00045 
00046 /* If your platform does not have the <inttypes.h> header, you may
00047    need to edit the typedefs below. */
00048 #if HAVE_INTTYPES_H
00049 #include <inttypes.h>
00050 #else
00051 
00052 #if ! HAVE_INT8_T
00053 typedef signed char int8_t;
00054 #endif
00055 
00056 #if ! HAVE_UINT8_T
00057 typedef unsigned char uint8_t;
00058 #endif
00059 
00060 #if ! HAVE_INT16_T
00061 typedef signed short int16_t;
00062 #endif
00063 
00064 #if ! HAVE_UINT16_T
00065 typedef unsigned short uint16_t;
00066 #endif
00067 
00068 #if ! HAVE_INT32_T
00069 typedef signed long int32_t;
00070 #endif
00071 
00072 #if ! HAVE_UINT32_T
00073 typedef unsigned long uint32_t;
00074 #endif
00075 
00076 #endif
00077 
00078 #include <limits.h>
00079 #define T_INT32_MAX (LONG_MAX)
00080 
00081 /*===========================================================================*/
00082 /* Symbol import-export control                                              */
00083 /*===========================================================================*/
00084 
00085 #define U_EXPORT
00086 #define U_EXPORT2
00087 #define U_IMPORT

Generated on Thu Jan 12 2012 23:13:51 for ACS-10.0 C++ API by  doxygen 1.7.0