This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fixinc v. glibc <values.h>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]