OSDN Git Service

* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Mar 2001 22:35:01 +0000 (22:35 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Mar 2001 22:35:01 +0000 (22:35 +0000)
#undef token before poisoning it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40371 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 226981e..8fdc129 100644 (file)
@@ -1,5 +1,10 @@
 2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
+       #undef token before poisoning it.
+
+2001-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
        * alpha.c (check_float_value): Use memcpy, not bcopy.
 
        * m32r.c (m32r_sched_reorder): Likewise.
index 0ea6c3f..4343441 100644 (file)
@@ -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 */