diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-11-29 13:24:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-11-29 13:24:55 +0000 |
commit | 20774c7eb3eca6c99b7ab3b9e6241a5a4585a628 (patch) | |
tree | 2708613a534e9cdf88bfe971d5e20ef441ff4ac0 /gnu | |
parent | 5b764c0cc21fbfe3e3959dd13e6e6a8448d00fdd (diff) |
Berkeley yacc is allowed to use unpoisoned malloc.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/system.h | 2 |
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 |