From 1c198cec1b7f0f3025ca1db26a8d44b7584c6eee Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 31 May 2011 14:06:47 +0200 Subject: COMMON: Move some weird WinCE/MSVC snprintf-#define around --- common/scummsys.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/scummsys.h b/common/scummsys.h index f7743a8941..a09d6fd85f 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -44,6 +44,9 @@ #if (_MSC_VER < 1500) #define vsnprintf _vsnprintf #endif + // FIXME: Is this actually necessary for WinCE or Windows? + // If yes, please add corresponding comments. Otherwise, let's get rid of it! + #define snprintf _snprintf #endif #if !defined(_WIN32_WCE) @@ -289,10 +292,6 @@ // extern int scumm_stricmp(const char *s1, const char *s2); extern int scumm_strnicmp(const char *s1, const char *s2, uint n); -#if defined(_WIN32_WCE) || defined(_MSC_VER) - // FIXME: Why is this necessary? - #define snprintf _snprintf -#endif // -- cgit v1.2.3