From 8061d7c4706aa3708021749a6d524b3f34c6949c Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 13 Dec 2018 10:07:47 +0100 Subject: [PATCH] to compile under MS Visual C++ 2010 --- src/gfx2log.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gfx2log.c b/src/gfx2log.c index aa20c964..7cb541a9 100644 --- a/src/gfx2log.c +++ b/src/gfx2log.c @@ -21,6 +21,9 @@ #if defined(_MSC_VER) #include +#if _MSC_VER < 1900 +#define snprintf _snprintf +#endif #endif #if defined(USE_SDL2) #include