From c03ce4b1c704ef638374f56bbb9692db0e4e354c Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 1 Jun 2009 11:49:46 +0000 Subject: (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. --- src/stdafx.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/stdafx.h') 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__) -- cgit v1.2.3-54-g00ecf