aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 22:35:01 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 22:35:01 +0000
commitc17171aeea3ac96e028ceaea187d5ea9319f74d4 (patch)
tree6f7ab7c2c6b65b915be9c5db2c4045b7a0f6dabb /gcc/system.h
parent01db4d07fa3afb6829774feb48f993cc29b1373e (diff)
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
#undef token before poisoning it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40371 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0ea6c3fc67e..43434419034 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -594,10 +594,17 @@ typedef char _Bool;
#if (GCC_VERSION >= 3000)
+#undef malloc
+#undef realloc
+#undef calloc
+#undef strdup
#pragma GCC poison malloc realloc calloc strdup
/* Note: not all uses of `bcopy' and `index' (esp. variable names)
have been eliminated. */
+#undef bzero
+#undef bcmp
+#undef rindex
#pragma GCC poison bzero bcmp rindex
#endif /* GCC >= 3.0 */