changeset 4211:086eea465aaa

Comments.
author Bruno Haible <bruno@clisp.org>
date Fri, 24 Jan 2003 15:25:16 +0000
parents 9cd83a167dcc
children b52631d89ac1
files lib/minmax.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/minmax.h
+++ b/lib/minmax.h
@@ -18,6 +18,11 @@
 #ifndef _MINMAX_H
 #define _MINMAX_H
 
+/* Note: MIN, MAX are also defined in <sys/param.h> on some systems
+   (glibc, IRIX, HP-UX, OSF/1).  Therefore you might get warnings about
+   MIN, MAX macro redefinitions on some systems; the workaround is to
+   #include this file as the last one among the #include list.  */
+
 /* Before we define the following symbols we get the <limits.h> file
    since otherwise we get redefinitions on some systems.  */
 #include <limits.h>