diff options
author | Max Horn | 2011-05-31 14:06:47 +0200 |
---|---|---|
committer | Max Horn | 2011-05-31 14:06:47 +0200 |
commit | 1c198cec1b7f0f3025ca1db26a8d44b7584c6eee (patch) | |
tree | 2d3009978131793922929c3d9cda3c439f41e08e /common | |
parent | 8654e846e4005d25f46587188c8964dc2e0a65d9 (diff) | |
download | scummvm-rg350-1c198cec1b7f0f3025ca1db26a8d44b7584c6eee.tar.gz scummvm-rg350-1c198cec1b7f0f3025ca1db26a8d44b7584c6eee.tar.bz2 scummvm-rg350-1c198cec1b7f0f3025ca1db26a8d44b7584c6eee.zip |
COMMON: Move some weird WinCE/MSVC snprintf-#define around
Diffstat (limited to 'common')
-rw-r--r-- | common/scummsys.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 // |