Commit 250333d0 by Kaveh R. Ghazi Committed by Kaveh Ghazi

* gansidecl.h (const): Check __STDC__ before undef'ing `const'.

From-SVN: r37590
parent 1d7ff272
2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gansidecl.h (const): Check __STDC__ before undef'ing `const'.
2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk> 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
* c-typeck.c (build_conditional_expr): When merging type * c-typeck.c (build_conditional_expr): When merging type
......
...@@ -35,7 +35,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -35,7 +35,9 @@ Boston, MA 02111-1307, USA. */
gcc header files in case they use these keywords. Otherwise gcc header files in case they use these keywords. Otherwise
conflicts might occur. */ conflicts might occur. */
#if (GCC_VERSION >= 2007) #if (GCC_VERSION >= 2007)
# undef const # ifdef __STDC__
# undef const
# endif
# undef inline # undef inline
# define inline __inline__ /* Modern gcc can use `__inline__' freely. */ # define inline __inline__ /* Modern gcc can use `__inline__' freely. */
# ifndef HAVE_LONG_DOUBLE # ifndef HAVE_LONG_DOUBLE
......
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