From 094420edc0c683c2c2bf5e2b3e0aa55243689439 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law <law@cygnus.com> Date: Sun, 17 Aug 1997 21:15:15 +0000 Subject: [PATCH] gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines. * gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines. From-SVN: r14822 --- gcc/ChangeLog | 5 +++++ gcc/gcc.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81e06fb3b4fb..5231a9c467c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 17 15:15:53 1997 Jeffrey A Law (law@cygnus.com) + + * gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ + predefines. + Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com) * loop.c (is_power_of_2, is_conditional_branch): Delete unused diff --git a/gcc/gcc.c b/gcc/gcc.c index c09285b62708..cdc1142990eb 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -595,6 +595,7 @@ static struct compiler default_compilers[] = %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ + -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%p} %P} %{trigraphs} \ %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\ @@ -616,6 +617,7 @@ static struct compiler default_compilers[] = %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ + -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%p} %P} %{trigraphs}\ %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\ @@ -629,6 +631,7 @@ static struct compiler default_compilers[] = %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -undef -D__OBJC__ -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ + -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%p} %P} %{trigraphs}\ %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\ @@ -653,6 +656,7 @@ static struct compiler default_compilers[] = %{C:%{!E:%eGNU C does not support -C without using -E}}\ %{M} %{MM} %{MD:-MD %b.d} %{MMD:-MMD %b.d} %{MG}\ -undef -D__GNUC__=%v1 -D__GNUC_MINOR__=%v2\ + -D__EGCS__=%v1 -D__EGCS_MINOR__=%v2\ %{ansi:-trigraphs -D__STRICT_ANSI__}\ %{!undef:%{!ansi:%p} %P} %{trigraphs}\ %c %{O*:%{!O0:-D__OPTIMIZE__}} %{traditional} %{ftraditional:-traditional}\ -- GitLab