summaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-22 14:23:22 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-22 14:23:22 +0000
commit11e01324589a2b6e90ecfe0759cfaaa153c9ca11 (patch)
tree18937a41ec03788e260cae33ca8f438ac7b21fd2 /gcc/system.h
parent5404a0e7afcfe580c31f55a2d0e05a6f571e0564 (diff)
downloadgcc-11e01324589a2b6e90ecfe0759cfaaa153c9ca11.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/system.h b/gcc/system.h
index fe8cae1071b..0fa561a92e0 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"