# HG changeset patch # User alexander.chemeris@gmail.com@d525d15b-5824-0410-80a3-6185d19c2cde # Date 1369434738 0 # Node ID 480de4e30dcd4b43172cc4e7994f40f6a844c3d4 # Parent a5b39e660e832b13e8e32154d84bacfed7a1c6a2 Fix Issue 10: Use system for Visual Studio 2010 and later. diff --git a/stdint.h b/stdint.h --- a/stdint.h +++ b/stdint.h @@ -41,6 +41,10 @@ #pragma once #endif +#if _MSC_VER >= 1600 // [ +#include +#else // ] _MSC_VER >= 1600 [ + #include // 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_ ]