Skip to content

Commit

Permalink
Fix Issue 10: Use system <stdint.h> for Visual Studio 2010 and later.
Browse files Browse the repository at this point in the history
  • Loading branch information
chemeris committed May 24, 2013
1 parent 7636cab commit c5dc53c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stdint.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -244,5 +248,6 @@ typedef uint64_t uintmax_t;

#endif // __STDC_CONSTANT_MACROS ]

#endif // _MSC_VER >= 1600 ]

#endif // _MSC_STDINT_H_ ]

0 comments on commit c5dc53c

Please sign in to comment.