summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-22 14:12:38 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-22 14:12:38 +0000
commite08f94ba3aa135e8954b6a1291df641cb4ece75d (patch)
tree2621105e91a46bebbb83124fa03b68008a74357f /gcc/system.h
parent6725cd74bf7f03d1993f801677db066eb8154fdb (diff)
downloadgcc-e08f94ba3aa135e8954b6a1291df641cb4ece75d.tar.gz
* system.h (__FUNCTION__): Wrap definition in #ifndef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 5741d336b8b..37cc727d3ab 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -617,7 +617,9 @@ extern void *alloca (__SIZE_TYPE__);
/* Various error reporting routines want to use __FUNCTION__. */
#if (GCC_VERSION < 2007)
+#ifndef __FUNCTION__
#define __FUNCTION__ "?"
+#endif /* ! __FUNCTION__ */
#endif
#endif /* __GCC_SYSTEM_H__ */