summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-01 11:49:46 +0000
committersmatz <smatz@openttd.org>2009-06-01 11:49:46 +0000
commitc03ce4b1c704ef638374f56bbb9692db0e4e354c (patch)
tree72c24a2c268425261ae4e01f9900cedef22ecc26 /src/stdafx.h
parentbab70a823dd810e1d4477f0c01d3a7b3e9b19ac8 (diff)
downloadopenttd-c03ce4b1c704ef638374f56bbb9692db0e4e354c.tar.xz
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index d6b735cd9..24c9e799d 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -116,9 +116,6 @@
#define printf pspDebugScreenPrintf
#endif /* PSP */
-/* by default we use [] var arrays */
-#define VARARRAY_SIZE
-
/* Stuff for GCC */
#if defined(__GNUC__)
#define NORETURN __attribute__ ((noreturn))
@@ -129,11 +126,6 @@
/* Warn about functions using 'printf' format syntax. First argument determines which parameter
* is the format string, second argument is start of values passed to printf. */
#define WARN_FORMAT(string, args) __attribute__ ((format (printf, string, args)))
-
- #if (__GNUC__ == 2)
- #undef VARARRAY_SIZE
- #define VARARRAY_SIZE 0
- #endif
#endif /* __GNUC__ */
#if defined(__WATCOMC__)