summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-18 13:55:11 +0000
committercelestar <celestar@openttd.org>2006-04-18 13:55:11 +0000
commit35a21d80fc57791749a40bec9e7a66987421398e (patch)
tree6fbb5b8e2abde7de6b6158ada60568adfbd2d6c4
parent4287cfb6404a6cde029f1790628d9f2e4882cfb1 (diff)
downloadopenttd-35a21d80fc57791749a40bec9e7a66987421398e.tar.xz
(svn r4468) -Fix: (FS#45) correct declaration of NORETURN for gcc (egladil)
-rw-r--r--stdafx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdafx.h b/stdafx.h
index fe896853d..21444ef70 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -68,7 +68,7 @@
// Stuff for GCC
#if defined(__GNUC__)
-# define NORETURN
+# define NORETURN __attribute((noreturn))
# define FORCEINLINE inline
# define CDECL
//#include <alloca.h>