From 412e1ecc1620fd842b0d3ade2238c8918f5fb373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Sj=C3=B6strand?= Date: Tue, 15 Sep 2015 19:17:42 +0200 Subject: [PATCH] compile fix for MinGW --- stb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb.h b/stb.h index d8aaf37..2e98e9d 100644 --- a/stb.h +++ b/stb.h @@ -206,7 +206,7 @@ CREDITS #endif #endif -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__MINGW32__) #define _CRT_SECURE_NO_WARNINGS #define _CRT_NONSTDC_NO_DEPRECATE #define _CRT_NON_CONFORMING_SWPRINTFS