#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.
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