changeset 39710:45e11013c850

[max]: Undef min and max before redefining them.
author Andrew Innes <andrewi@gnu.org>
date Mon, 08 Oct 2001 22:39:06 +0000
parents 3c36ec9a8c27
children d943962e1b24
files src/lisp.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Mon Oct 08 22:33:43 2001 +0000
+++ b/src/lisp.h	Mon Oct 08 22:39:06 2001 +0000
@@ -3078,5 +3078,9 @@
 
 /* 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))