diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-09-22 14:23:22 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-09-22 14:23:22 +0000 |
commit | 890ad3ead9ca658327664f08464681c1b5ff5a6b (patch) | |
tree | 18937a41ec03788e260cae33ca8f438ac7b21fd2 /gcc/system.h | |
parent | 00d33cb2336c12ba895fc8531cc36a0a3613758b (diff) | |
download | gcc-890ad3ead9ca658327664f08464681c1b5ff5a6b.zip gcc-890ad3ead9ca658327664f08464681c1b5ff5a6b.tar.gz gcc-890ad3ead9ca658327664f08464681c1b5ff5a6b.tar.bz2 |
configure.in (AC_PREREQ): Bump to 2.13.
* configure.in (AC_PREREQ): Bump to 2.13.
(AC_C_STRINGIZE): Call this instead of using a custom macro.
* gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
* system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
* acconfig.h (HAVE_CPP_STRINGIFY): Delete.
* alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
(HAVE_STRINGIZE): Define.
From-SVN: r29590
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/system.h b/gcc/system.h index fe8cae1..0fa561a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -438,16 +438,13 @@ extern void abort (); #endif /* Define a STRINGIFY macro that's right for ANSI or traditional C. - HAVE_CPP_STRINGIFY only refers to the stage1 compiler. Assume that - (non-traditional) gcc used in stage2 or later has this feature. - Note: if the argument passed to STRINGIFY is itself a macro, eg #define foo bar, STRINGIFY(foo) will produce "foo", not "bar". Although the __STDC__ case could be made to expand this via a layer of indirection, the traditional C case can not do so. Therefore this behavior is not supported. */ #ifndef STRINGIFY -# if defined(HAVE_CPP_STRINGIFY) || (defined(__GNUC__) && defined(__STDC__)) +# ifdef HAVE_STRINGIZE # define STRINGIFY(STRING) #STRING # else # define STRINGIFY(STRING) "STRING" |