This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fixinc v. glibc <values.h>
- To: <gcc-bugs at gcc dot gnu dot org>, <libc-alpha at sources dot redhat dot com>
- Subject: fixinc v. glibc <values.h>
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Thu, 23 Nov 2000 12:52:57 +0000 (GMT)
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