aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 10d7606..5acbff7 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -553,7 +553,7 @@ typedef char _Bool;
#define really_call_calloc calloc
#define really_call_realloc realloc
-#if defined(FLEX_SCANNER) || defined(YYBISON)
+#if defined(FLEX_SCANNER) || defined(YYBISON) || defined(YYBYACC)
/* Flex and bison use malloc and realloc. Yuk. Note that this means
really_call_* cannot be used in a .l or .y file. */
#define malloc xmalloc