From 328c8888ecacd7ffd2e10f38269b0bdf5abb7d32 Mon Sep 17 00:00:00 2001 From: Johan 't Hart Date: Tue, 1 Dec 2015 09:34:13 +0100 Subject: [PATCH] Make compilable under Visual Studio 2008 Older Visual Studio versions are not shipped with stdint.h --- format.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/format.h b/format.h index ae45487c..568123d8 100644 --- a/format.h +++ b/format.h @@ -28,7 +28,13 @@ #ifndef 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 +#endif #include #include