diff options
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index 9b48a1d67..14d493879 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -309,13 +309,7 @@ assert_compile(sizeof(uint8) == 1); #define CloseConnection OTTD_CloseConnection #endif /* __APPLE__ */ -#if !defined(STRGEN) - /* In strgen error is not fatal and returns */ - void NORETURN CDECL error(const char *str, ...); -#else - void CDECL error(const char *str, ...); -#endif - +void NORETURN CDECL error(const char *str, ...); #define NOT_REACHED() error("NOT_REACHED triggered at line %i of %s", __LINE__, __FILE__) #if defined(MORPHOS) || defined(__NDS__) |