Changeset - r12856:04df3bf28075
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-01 20:59:44
smatz@openttd.org
(svn r17358) -Fix: compilation was broken for gcc older than 3.4
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/stdafx.h
Show inline comments
 
@@ -308,8 +308,8 @@ typedef unsigned char byte;
 
	#define PERSONAL_DIR ""
 
#endif
 

	
 
/* Compile time assertions */
 
#if defined(__OS2__)
 
/* Compile time assertions, disabled for OS/2 or GCC < 3.4 (GCC < 3 isn't supported anymore) */
 
#if defined(__OS2__) || (defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ < 4)
 
	#define assert_compile(expr)
 
#else
 
	#define assert_compile(expr) extern const int __ct_assert__[1 - 2 * !(expr)] UNUSED
0 comments (0 inline, 0 general)