diff src/w32term.c @ 21456:c0496e62b737

(min, max): Define as macros.
author Karl Heuer <kwzh@gnu.org>
date Thu, 09 Apr 1998 18:12:46 +0000
parents b4fe0e8ac819
children 2624d8dcc73f
line wrap: on
line diff
--- a/src/w32term.c	Thu Apr 09 17:58:28 1998 +0000
+++ b/src/w32term.c	Thu Apr 09 18:12:46 1998 +0000
@@ -49,6 +49,11 @@
 #include "keyboard.h"
 #include "intervals.h"
 
+#undef min
+#undef max
+#define min(x, y) (((x) < (y)) ? (x) : (y))
+#define max(x, y) (((x) > (y)) ? (x) : (y))
+
 extern void free_frame_menubar ();
 
 extern Lisp_Object Vwindow_system;