From 258c6a263c521c81b74ff75b972878705d94527e Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 3 May 2004 23:56:40 +0000 Subject: [PATCH] hack for correct scoping rules in VC6 --- stepmania/src/global.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/global.h b/stepmania/src/global.h index 5be071c6bf..6dabdd61ef 100644 --- a/stepmania/src/global.h +++ b/stepmania/src/global.h @@ -23,6 +23,11 @@ #pragma once #endif // _MSC_VER >= 1000 +// HACK: Get correct for scoping rules for VC6. +#if _MSC_VER == 1200 +#define for if(0); else for +#endif // _MSC_VER == 1200 + #define VC_EXTRALEAN // Exclude rarely-used stuff /* Platform-specific fixes. */