Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

typedefs.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 /* This central include file defines data types for all platforms */
00017 
00018 #ifndef TYPEDEF_H
00019 #define TYPEDEF_H
00020 
00021 /* Platform independent definitions */
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 /* Platform specific definitions */
00035 
00036 #ifdef WIN32
00037 #define MBS_ENDIAN 0 /* little endian               */
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 /* little endian               */
00046 #define GSI__LINUX
00047 #define GSI__UNIX
00048 typedef unsigned long ADDRS;
00049 #endif
00050 
00051 #ifdef Solaris
00052 #define MBS_ENDIAN 1 /* big endian         */
00053 #define GSI__SOLARIS
00054 #define GSI__SLARIS
00055 typedef unsigned long ADDRS;
00056 #endif
00057 
00058 #ifdef _AIX
00059 #define MBS_ENDIAN 1 /* big    endian */
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 /* big    endian */
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 /* big    endian               */
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 /* big    endian               */
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  /* little endian               */
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 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:33 2008 for Go4-v3.04-1 by  doxygen 1.4.2