Commit 78e0ba39 by Mark Mitchell Committed by Mark Mitchell

acconfig.h: Define `const' to the empty string if neither __STDC__ nor __cplusplus is defined.

	* acconfig.h: Define `const' to the empty string if neither
	__STDC__ nor __cplusplus is defined.
	* config.in: Regenerated.

From-SVN: r39272
parent 05dba9ee
2001-01-25 Mark Mitchell <mark@codesourcery.com>
* acconfig.h: Define `const' to the empty string if neither
__STDC__ nor __cplusplus is defined.
* config.in: Regenerated.
2001-01-25 David Edelsohn <edelsohn@gnu.org>
* config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
......
......@@ -25,3 +25,17 @@
/* Define to `int' if <sys/types.h> doesn't define. */
#undef ssize_t
@BOTTOM@
/* Bison unconditionally undefines `const' if neither `__STDC__' nor
__cplusplus are defined. That's a problem since we use `const' in
the GCC headers, and the resulting bison code is therefore type
unsafe. Thus, we must match the bison behavior here. */
#ifndef __STDC__
#ifndef __cplusplus
#undef const
#define const
#endif
#endif
......@@ -452,3 +452,15 @@
/* Define to 1 if you want to enable namespaces (-fhonor-std) by default. */
#undef ENABLE_STD_NAMESPACE
/* Bison unconditionally undefines `const' if neither `__STDC__' nor
__cplusplus are defined. That's a problem since we use `const' in
the GCC headers, and the resulting bison code is therefore type
unsafe. Thus, we must match the bison behavior here. */
#ifndef __STDC__
#ifndef __cplusplus
#undef const
#define const
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment