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

From-SVN: r37590
This commit is contained in:
Kaveh R. Ghazi 2000-11-20 21:09:25 +00:00 committed by Kaveh Ghazi
parent 1d7ff272c7
commit 250333d0e0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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>
* c-typeck.c (build_conditional_expr): When merging type

View File

@ -35,7 +35,9 @@ Boston, MA 02111-1307, USA. */
gcc header files in case they use these keywords. Otherwise
conflicts might occur. */
#if (GCC_VERSION >= 2007)
# undef const
# ifdef __STDC__
# undef const
# endif
# undef inline
# define inline __inline__ /* Modern gcc can use `__inline__' freely. */
# ifndef HAVE_LONG_DOUBLE