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 GSI__WINNT
00038 #include "typedefs_nt.h"
00039 typedef unsigned long ADDRS;
00040 #endif
00041
00042
00043 #ifdef Linux
00044 #define GSI__LINUX
00045 #define GSI__UNIX
00046 typedef unsigned long ADDRS;
00047 #endif
00048
00049 #ifdef _AIX
00050 #define GSI__AIX
00051 #define GSI__UNIX
00052 typedef long long INTS8;
00053 typedef unsigned long long INTU8;
00054 typedef unsigned long ADDRS;
00055 #endif
00056
00057 #ifdef __osf__
00058 #ifdef __alpha
00059 #define AXP
00060 #define GSI__UNIX_AXP
00061 #define GSI__UNIX
00062 typedef long INTS8;
00063 typedef unsigned long INTU8;
00064 typedef unsigned long ADDRS;
00065 #endif
00066 #endif
00067
00068 #ifdef _HPUX_SOURCE
00069 #define GSI__HPUX
00070 #define GSI__UNIX
00071 typedef long INTS8;
00072 typedef unsigned long INTU8;
00073 typedef unsigned long ADDRS;
00074 #endif
00075
00076 #ifdef Lynx
00077 #define GSI__LYNX
00078 #define GSI__UNIX
00079 typedef long INTS8;
00080 typedef unsigned long INTU8;
00081 typedef unsigned long ADDRS;
00082 #endif
00083
00084 #ifdef VMS
00085 #define GSI__VMS
00086 typedef long INTS8;
00087 typedef unsigned long INTU8;
00088 typedef unsigned long ADDRS;
00089 #ifdef __alpha
00090 #define GSI__VMS_AXP
00091 #define AXP
00092 #endif
00093 #ifdef VAX
00094 #define GSI__VMS_VAX
00095 #endif
00096 #endif
00097
00098
00099 #endif
00100
00101