OSDN Git Service

* init.c (build_new): Allow enumeration types for the array-bounds
[pf3gnuchains/gcc-fork.git] / gcc / gansidecl.h
index f867cda..c64cee5 100644 (file)
@@ -27,13 +27,6 @@ Boston, MA 02111-1307, USA.  */
 
 #include "ansidecl.h"
 
-/* Undef ansidecl.h's "obsolete" version. */
-#undef PROTO
-/* These macros are deprecated, use ansidecl.h's PARAMS style instead. */
-#define PROTO(ARGS) PARAMS(ARGS)
-#define VPROTO(ARGS) VPARAMS(ARGS)
-#define PVPROTO(ARGS) PARAMS(ARGS)
-
 /* Autoconf will possibly define the `inline' or `const' keywords as
    macros, however this is only valid for the stage1 compiler.  If we
    detect a modern version of gcc, unconditionally reset the values.
@@ -41,8 +34,10 @@ Boston, MA 02111-1307, USA.  */
    need to do this very early; i.e. before any systems header files or
    gcc header files in case they use these keywords.  Otherwise
    conflicts might occur. */
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
-# undef const
+#if (GCC_VERSION >= 2007)
+# ifdef __STDC__
+#  undef const
+# endif
 # undef inline
 # define inline __inline__  /* Modern gcc can use `__inline__' freely. */
 # ifndef HAVE_LONG_DOUBLE