Commit 9056c13e authored by Ivan Pechorin's avatar Ivan Pechorin

Use <stdint.h> shipped with Visual Studio 2010 and later

Visual Studio didn’t have <stdint.h> until 2010, therefore we had a bunch of typedefs for int8_t, int16_t and the likes in "stdint.hpp". This patch limits these typedefs to Visual Studio versions older than 2010 and uses compiler-shipped <stdint.h> on 2010 and newer.
parent ff264cb0
......@@ -27,7 +27,7 @@
#include <inttypes.h>
#elif defined _MSC_VER
#elif defined _MSC_VER && _MSC_VER < 1600
#ifndef int8_t
typedef __int8 int8_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment