Commit 328c8888 authored by Johan 't Hart's avatar Johan 't Hart

Make compilable under Visual Studio 2008

Older Visual Studio versions are not shipped with stdint.h
parent df2dfd96
...@@ -28,7 +28,13 @@ ...@@ -28,7 +28,13 @@
#ifndef FMT_FORMAT_H_ #ifndef FMT_FORMAT_H_
#define FMT_FORMAT_H_ #define FMT_FORMAT_H_
#if defined _MSC_VER && _MSC_VER <= 1500
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef long long intmax_t;
#else
#include <stdint.h> #include <stdint.h>
#endif
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
......
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