GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
s_stdint.h
Go to the documentation of this file.
1 // $Id: s_stdint.h 595 2010-03-09 06:51:15Z adamczew $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef S_STDINT_H
15 #define S_STDINT_H
16 
17 // this is minimum types set for fixed-size integers
18 
19 #ifdef WIN32
20 
21 #if _MSC_VER > 1000
22 #pragma once
23 #endif
24 
25 #include <limits.h>
26 #include <wchar.h>
27 
28 typedef __int8 int8_t;
29 typedef __int16 int16_t;
30 typedef __int32 int32_t;
31 typedef __int64 int64_t;
32 typedef unsigned __int8 uint8_t;
33 typedef unsigned __int16 uint16_t;
34 typedef unsigned __int32 uint32_t;
35 typedef unsigned __int64 uint64_t;
36 
37 #endif
38 
39 #ifdef Lynx
40 
41 typedef char int8_t;
42 typedef unsigned char uint8_t;
43 typedef short int16_t;
44 typedef unsigned short uint16_t;
45 typedef int int32_t;
46 typedef unsigned int uint32_t;
47 typedef long int64_t;
48 typedef unsigned long uint64_t;
49 
50 #endif
51 
52 #ifdef Linux
53 #include <stdint.h>
54 #endif
55 
56 #ifdef Solaris
57 #include <stdint.h>
58 #endif
59 
60 #ifdef Darwin
61 #include <stdint.h>
62 #endif
63 
64 
65 #endif