Go to the documentation of this file.
8 #ifndef NERTC_BASE_TYPES_H
9 #define NERTC_BASE_TYPES_H
11 #include <sys/types.h>
25 typedef signed char int8_t;
26 typedef signed short int16_t;
27 typedef signed int int32_t;
28 typedef signed long long int64_t;
29 typedef unsigned char uint8_t;
30 typedef unsigned short uint16_t;
31 typedef unsigned int uint32_t;
32 typedef unsigned long long uint64_t;
34 typedef u_int8_t uint8_t;
35 typedef u_int16_t uint16_t;
36 typedef u_int32_t uint32_t;
37 typedef u_int64_t uint64_t;
38 #endif // _SYS_TYPES_H
42 #elif defined(_MSC_VER)
43 typedef signed char int8_t;
44 typedef signed short int16_t;
45 typedef signed int int32_t;
46 typedef signed __int64 int64_t;
47 typedef unsigned char uint8_t;
48 typedef unsigned short uint16_t;
49 typedef unsigned int uint32_t;
50 typedef unsigned __int64 uint64_t;
71 #endif // COMPILER_GCC/COMPILER_MSVC
86 #endif // NERTC_BASE_TYPES_H