GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
s_stdint.h
Go to the documentation of this file.
1// $Id$
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 fuer 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 _MSC_VER
20
21#if _MSC_VER > 1000
22#pragma once
23#endif
24
25#include <limits.h>
26#include <wchar.h>
27
28typedef __int8 int8_t;
29typedef __int16 int16_t;
30typedef __int32 int32_t;
31typedef __int64 int64_t;
32typedef unsigned __int8 uint8_t;
33typedef unsigned __int16 uint16_t;
34typedef unsigned __int32 uint32_t;
35typedef unsigned __int64 uint64_t;
36
37#endif
38
39#ifdef Lynx
40
41typedef char int8_t;
42typedef unsigned char uint8_t;
43typedef short int16_t;
44typedef unsigned short uint16_t;
45typedef int int32_t;
46typedef unsigned int uint32_t;
47typedef long int64_t;
48typedef 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