From 55f3aa4d8a727300d2aa39c175d1ff9a07509d8e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 16 Nov 2002 06:50:57 +0000 Subject: [PATCH] fix a couple minor errors --- stepmania/src/StdString.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/StdString.h b/stepmania/src/StdString.h index 03b4b19d51..a39bb47f3e 100644 --- a/stepmania/src/StdString.h +++ b/stepmania/src/StdString.h @@ -1079,7 +1079,7 @@ inline void ssadd(std::wstring& sDst, PCWSTR pW) // arguments. If you get a compilation error here, then you can just // change this code to call the three-argument version. // #if !defined(__MWERKS__) && !defined(__SUNPRO_CC_COMPAT) && !defined(__SUNPRO_CC) - #ifndef _MSC_VER + #ifndef _WIN32 return vswprintf(pW, nCount, pFmtW, vl); #else nCount; @@ -1521,7 +1521,7 @@ public: // addition operators -- global friend functions. -#if _MSC_VER < 1300 /* VC6, not VC7 */ +#if defined(_MSC_VER) && _MSC_VER < 1300 /* VC6, not VC7 */ /* work around another stupid vc6 bug */ #define EMP_TEMP #else