From f627f92557839e52188606995a74856d4c81dd82 Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Sun, 28 Feb 2010 13:24:31 +0000 Subject: [PATCH] Erwxan -fix compilation issue on windows --- projects/mtg/include/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/mtg/include/config.h b/projects/mtg/include/config.h index 25cc08f99..efa4c1dd8 100644 --- a/projects/mtg/include/config.h +++ b/projects/mtg/include/config.h @@ -1,8 +1,13 @@ #ifndef _DEBUG_H_ #define _DEBUG_H_ +#if WIN32 +#define snprintf sprintf_s +#endif + #if defined (WIN32) || defined (LINUX) #define TESTSUITE 1 + #else #define OutputDebugString(val) {} #endif