MADARA  3.4.1
StdInt.h
Go to the documentation of this file.
1 
2 #ifndef _MADARA_STDINT_H_
3 #define _MADARA_STDINT_H_
4 
5 // Because Microsoft decided to not support stdint.h
6 // from VS 2003 until VS 2010, we simply typedef the
7 // symbols that are supported in all MS products when
8 // we know we have a MS compiler
9 
10 #ifdef _MSC_VER
11 
12 #if (_MSC_VER < 1600)
13 
14 #ifndef int32_t
15 
16 typedef __int32 int32_t;
17 typedef unsigned __int32 uint32_t;
18 typedef __int64 int64_t;
19 typedef unsigned __int64 uint64_t;
20 
21 #endif
22 
23 #else // (MSC_VER >= 1600)
24 
25 // otherwise, we do something more logical
26 #include <stdint.h>
27 
28 #endif // (MSC_VER < 1600)
29 
30 #else // !_MSC_VER
31 
32 // otherwise, we do something more logical
33 #include <stdint.h>
34 
35 #endif // _MSC_VER
36 
37 #endif // _MADARA_STDINT_H_