From 86671a4ed09283236daad34900e55a9c7de1d57d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 24 Jun 1995 21:10:12 +0000 Subject: Undefine min and/or max before defining to avoid redefinition warning on systems. --- src/uniq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/uniq.c') diff --git a/src/uniq.c b/src/uniq.c index 5897c7166..8f86e978f 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -30,6 +30,8 @@ #include "version.h" #include "error.h" +/* Undefine, to avoid warning about redefinition on some systems. */ +#undef min #define min(x, y) ((x) < (y) ? (x) : (y)) static char *find_field (); -- cgit v1.2.3-54-g00ecf