]> git.eshelyaron.com Git - emacs.git/commitdiff
[max]: Undef min and max before redefining them.
authorAndrew Innes <andrewi@gnu.org>
Mon, 8 Oct 2001 22:39:06 +0000 (22:39 +0000)
committerAndrew Innes <andrewi@gnu.org>
Mon, 8 Oct 2001 22:39:06 +0000 (22:39 +0000)
src/lisp.h

index 69253fd52782ea0c67c66c27be02a394ffdae8a2..f86ae5e730c6903539c8761c4caf039819492088 100644 (file)
@@ -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))