Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef TYPEDEF_H
00017 #define TYPEDEF_H
00018
00019
00020
00021 typedef char CHARS;
00022 typedef unsigned char CHARU;
00023 typedef char INTS1;
00024 typedef unsigned char INTU1;
00025 typedef short INTS2;
00026 typedef unsigned short INTU2;
00027 typedef int INTS4;
00028 typedef unsigned int INTU4;
00029 typedef float REAL4;
00030 typedef double REAL8;
00031
00032
00033
00034 #ifdef WIN32
00035 #define MBS_ENDIAN 0
00036 #define GSI__WINNT
00037 #include "typedefs_nt.h"
00038 typedef unsigned long ADDRS;
00039 #endif
00040
00041
00042 #ifdef Linux
00043 #define MBS_ENDIAN 0
00044 #define GSI__LINUX
00045 #define GSI__UNIX
00046 typedef unsigned long ADDRS;
00047 #endif
00048
00049 #ifdef Solaris
00050 #define MBS_ENDIAN 1
00051 #define GSI__SOLARIS
00052 #define GSI__SLARIS
00053 typedef unsigned long ADDRS;
00054 #endif
00055
00056
00057 #ifdef Darwin
00058 #define MBS_ENDIAN 0
00059 #define GSI__LINUX
00060 #define GSI__UNIX
00061 typedef unsigned long ADDRS;
00062 #endif
00063
00064
00065 #ifdef _AIX
00066 #define MBS_ENDIAN 1
00067 #define GSI__AIX
00068 #define GSI__UNIX
00069 typedef long long INTS8;
00070 typedef unsigned long long INTU8;
00071 typedef unsigned long ADDRS;
00072 #endif
00073
00074 #ifdef __osf__
00075 #ifdef __alpha
00076 #define MBS_ENDIAN 1
00077 #define AXP
00078 #define GSI__UNIX_AXP
00079 #define GSI__UNIX
00080 typedef long INTS8;
00081 typedef unsigned long INTU8;
00082 typedef unsigned long ADDRS;
00083 #endif
00084 #endif
00085
00086 #ifdef _HPUX_SOURCE
00087 #define MBS_ENDIAN 1
00088 #define GSI__HPUX
00089 #define GSI__UNIX
00090 typedef long INTS8;
00091 typedef unsigned long INTU8;
00092 typedef unsigned long ADDRS;
00093 #endif
00094
00095 #ifdef Lynx
00096 #define MBS_ENDIAN 1
00097 #define GSI__LYNX
00098 #define GSI__UNIX
00099 typedef long INTS8;
00100 typedef unsigned long INTU8;
00101 typedef unsigned long ADDRS;
00102 #endif
00103
00104 #ifdef VMS
00105 #define MBS_ENDIAN 0
00106 #define GSI__VMS
00107 typedef long INTS8;
00108 typedef unsigned long INTU8;
00109 typedef unsigned long ADDRS;
00110 #ifdef __alpha
00111 #define GSI__VMS_AXP
00112 #define AXP
00113 #endif
00114 #ifdef VAX
00115 #define GSI__VMS_VAX
00116 #endif
00117 #endif
00118
00119
00120 #endif