aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorMarc Espie <espie@openbsd.org>2004-01-12 22:51:02 +0000
committerMarc Espie <espie@gcc.gnu.org>2004-01-12 22:51:02 +0000
commitf92ed976289342eea03baf372f77026ab6052ac7 (patch)
treeca319d44d2cfad0b026781fb13f62fb1f638c5fc /gcc/system.h
parent25ebb82a64b527e6f46ad31e3215a5b92504d61d (diff)
downloadgcc-f92ed976289342eea03baf372f77026ab6052ac7.zip
gcc-f92ed976289342eea03baf372f77026ab6052ac7.tar.gz
gcc-f92ed976289342eea03baf372f77026ab6052ac7.tar.bz2
system.h: handle YYBYACC like YYBISON.
2004-01-12 Marc Espie <espie@openbsd.org> * system.h: handle YYBYACC like YYBISON. From-SVN: r75764
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