comparison stdint.h @ 26:480de4e30dcd

Fix Issue 10: Use system <stdint.h> for Visual Studio 2010 and later.
author alexander.chemeris@gmail.com@d525d15b-5824-0410-80a3-6185d19c2cde
date Fri, 24 May 2013 22:32:18 +0000
parents a5b39e660e83
children 536eb2988c28
comparison
equal deleted inserted replaced
25:a5b39e660e83 26:480de4e30dcd
38 #define _MSC_STDINT_H_ 38 #define _MSC_STDINT_H_
39 39
40 #if _MSC_VER > 1000 40 #if _MSC_VER > 1000
41 #pragma once 41 #pragma once
42 #endif 42 #endif
43
44 #if _MSC_VER >= 1600 // [
45 #include <stdint.h>
46 #else // ] _MSC_VER >= 1600 [
43 47
44 #include <limits.h> 48 #include <limits.h>
45 49
46 // For Visual Studio 6 in C++ mode and for many Visual Studio versions when 50 // For Visual Studio 6 in C++ mode and for many Visual Studio versions when
47 // compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}' 51 // compiling for ARM we should wrap <wchar.h> include with 'extern "C++" {}'
242 #define INTMAX_C INT64_C 246 #define INTMAX_C INT64_C
243 #define UINTMAX_C UINT64_C 247 #define UINTMAX_C UINT64_C
244 248
245 #endif // __STDC_CONSTANT_MACROS ] 249 #endif // __STDC_CONSTANT_MACROS ]
246 250
251 #endif // _MSC_VER >= 1600 ]
247 252
248 #endif // _MSC_STDINT_H_ ] 253 #endif // _MSC_STDINT_H_ ]