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