changeset 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
files stdint.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stdint.h
+++ b/stdint.h
@@ -41,6 +41,10 @@
 #pragma once
 #endif
 
+#if _MSC_VER >= 1600 // [
+#include <stdint.h>
+#else // ] _MSC_VER >= 1600 [
+
 #include <limits.h>
 
 // For Visual Studio 6 in C++ mode and for many Visual Studio versions when
@@ -244,5 +248,6 @@ typedef uint64_t  uintmax_t;
 
 #endif // __STDC_CONSTANT_MACROS ]
 
+#endif // _MSC_VER >= 1600 ]
 
 #endif // _MSC_STDINT_H_ ]