fixinc v. glibc <values.h>
Joseph S. Myers
jsm28@cam.ac.uk
Thu Nov 23 04:53:00 GMT 2000
GCC's fixincludes makes the following changes to glibc 2.2's
<values.h>. One of glibc and fixincludes is presumably buggy here;
which?
--- /usr/include/values.h Fri Nov 10 10:24:00 2000
+++ values.h Thu Nov 23 10:41:05 2000
@@ -1,3 +1,12 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "/usr/include/values.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
/* Old compatibility names for <limits.h> and <float.h> constants.
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -42,7 +51,9 @@
#define MINLONG LONG_MIN
#define MAXSHORT SHRT_MAX
+#ifndef MAXINT
#define MAXINT INT_MAX
+#endif
#define MAXLONG LONG_MAX
#define HIBITS MINSHORT
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-bugs
mailing list