From 152180e34e42cff9082d73954cb676557b60be23 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Mon, 8 Oct 2001 22:39:06 +0000 Subject: [PATCH] [max]: Undef min and max before redefining them. --- src/lisp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lisp.h b/src/lisp.h index 69253fd5278..f86ae5e730c 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3078,5 +3078,9 @@ extern Lisp_Object Vdirectory_sep_char; /* The ubiquitous min and max macros. */ +#ifdef max +#undef max +#undef min +#endif #define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b)) -- 2.39.2