summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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