From 3d55c998b6425f5cf19dbd66b6c2ec880a828df8 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 10 Nov 2014 19:49:13 +0000 Subject: [PATCH] fix compile of zlib with msvs 2014 - closes #5 --- deps/zlib/zconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/zlib/zconf.h b/deps/zlib/zconf.h index b0e17bb4e5bb..5d13b100a162 100644 --- a/deps/zlib/zconf.h +++ b/deps/zlib/zconf.h @@ -113,6 +113,9 @@ #endif #if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32)) # define STDC +#if _MSC_VER>=1900 +# define STDC99 +#endif #endif #if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__)) # define STDC