VectorNav C Library
int.h
1 #ifndef VNINT_H_INCLUDED
2 #define VNINT_H_INCLUDED
3 
4 #ifdef _WIN32
5 #pragma warning(push)
6 #pragma warning(disable : 4820)
7 #pragma warning(disable : 4255)
8 #endif
9 
10 /* Visual Studio 2008 and earlier do not include the stdint.h header file. */
11 #if defined(_MSC_VER) && _MSC_VER <= 1500
12  typedef signed __int8 int8_t;
13  typedef signed __int16 int16_t;
14  typedef signed __int32 int32_t;
15  typedef signed __int64 int64_t;
16  typedef unsigned __int8 uint8_t;
17  typedef unsigned __int16 uint16_t;
18  typedef unsigned __int32 uint32_t;
19  typedef unsigned __int64 uint64_t;
20 #else
21  /* Just include the standard header file for integer types. */
22  #include <stdint.h>
23 #endif
24 
25 #ifdef _WIN32
26 #pragma warning(pop)
27 #endif
28 
29 #endif