summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2006-11-14 12:02:36 +0000
committerKUDr <KUDr@openttd.org>2006-11-14 12:02:36 +0000
commit8a588f9cf11356943c17eb64d81a98fbd142c5ea (patch)
tree616cc0a9337fc4a58db45e5c6192dbd69dbaa122 /stdafx.h
parenta0b44e744f66ba26f5a96b13347028308041ace7 (diff)
downloadopenttd-8a588f9cf11356943c17eb64d81a98fbd142c5ea.tar.xz
(svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron)
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/stdafx.h b/stdafx.h
index 0dad62624..1db6ed38e 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -301,15 +301,4 @@ assert_compile(sizeof(uint8) == 1);
#define EXTERN_C_BEGIN extern "C" {
#define EXTERN_C_END }
-
-// workaround for VC6 bug: Error C2258 and error C2252 occur if you try
-// to perform in-place initialization of static const integral member
-// data in Visual C++ (see http://support.microsoft.com/kb/241569/)
-#if defined(_MSC_VER) && (_MSC_VER < 1300)
-# define ST_CONST(type, name_val) enum {name_val};
-#else
-# define ST_CONST(type, name_val) static const type name_val;
-#endif
-
-
#endif /* STDAFX_H */