summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-11-29 13:24:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-11-29 13:24:55 +0000
commit20774c7eb3eca6c99b7ab3b9e6241a5a4585a628 (patch)
tree2708613a534e9cdf88bfe971d5e20ef441ff4ac0 /gnu
parent5b764c0cc21fbfe3e3959dd13e6e6a8448d00fdd (diff)
Berkeley yacc is allowed to use unpoisoned malloc.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/system.h b/gnu/usr.bin/gcc/gcc/system.h
index c9598ab0580..654c85fe30b 100644
--- a/gnu/usr.bin/gcc/gcc/system.h
+++ b/gnu/usr.bin/gcc/gcc/system.h
@@ -584,7 +584,7 @@ typedef char _Bool;
#undef strdup
#pragma GCC poison calloc strdup
-#if defined(FLEX_SCANNER) || defined (YYBISON)
+#if defined(FLEX_SCANNER) || defined (YYBISON) || defined(YYBYACC)
/* Flex and bison use malloc and realloc. Yuk. */
#define malloc xmalloc
#define realloc xrealloc