diff options
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 410c280597e..5741d336b8b 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -615,4 +615,9 @@ extern void abort PARAMS ((void)); extern void *alloca (__SIZE_TYPE__); #endif +/* Various error reporting routines want to use __FUNCTION__. */ +#if (GCC_VERSION < 2007) +#define __FUNCTION__ "?" +#endif + #endif /* __GCC_SYSTEM_H__ */ |