aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1998-04-09 18:12:46 +0000
committerKarl Heuer1998-04-09 18:12:46 +0000
commit03887dd3884cd7bf42ed18f2fac974653fb628be (patch)
treeea3d65593cff5bf79dc1920f01d1c0d20492a352
parentf4fe72d542cac4978ce691b89a0fe2524515b274 (diff)
downloademacs-03887dd3884cd7bf42ed18f2fac974653fb628be.tar.gz
emacs-03887dd3884cd7bf42ed18f2fac974653fb628be.zip
(min, max): Define as macros.
-rw-r--r--src/unexw32.c5
-rw-r--r--src/w32.c5
-rw-r--r--src/w32term.c5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index b1fa3e85eed..5d196a8b1cb 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -47,6 +47,11 @@ extern char my_endbss[];
47 47
48#include "w32heap.h" 48#include "w32heap.h"
49 49
50#undef min
51#undef max
52#define min(x, y) (((x) < (y)) ? (x) : (y))
53#define max(x, y) (((x) > (y)) ? (x) : (y))
54
50/* Basically, our "initialized" flag. */ 55/* Basically, our "initialized" flag. */
51BOOL need_to_recreate_heap = FALSE; 56BOOL need_to_recreate_heap = FALSE;
52 57
diff --git a/src/w32.c b/src/w32.c
index f64e015744d..ca05a17c833 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -79,6 +79,11 @@ Boston, MA 02111-1307, USA.
79#include "ndir.h" 79#include "ndir.h"
80#include "w32heap.h" 80#include "w32heap.h"
81 81
82#undef min
83#undef max
84#define min(x, y) (((x) < (y)) ? (x) : (y))
85#define max(x, y) (((x) > (y)) ? (x) : (y))
86
82extern Lisp_Object Vw32_downcase_file_names; 87extern Lisp_Object Vw32_downcase_file_names;
83extern Lisp_Object Vw32_generate_fake_inodes; 88extern Lisp_Object Vw32_generate_fake_inodes;
84extern Lisp_Object Vw32_get_true_file_attributes; 89extern Lisp_Object Vw32_get_true_file_attributes;
diff --git a/src/w32term.c b/src/w32term.c
index 053c148bc3e..737d189f77f 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -49,6 +49,11 @@ Boston, MA 02111-1307, USA. */
49#include "keyboard.h" 49#include "keyboard.h"
50#include "intervals.h" 50#include "intervals.h"
51 51
52#undef min
53#undef max
54#define min(x, y) (((x) < (y)) ? (x) : (y))
55#define max(x, y) (((x) > (y)) ? (x) : (y))
56
52extern void free_frame_menubar (); 57extern void free_frame_menubar ();
53 58
54extern Lisp_Object Vwindow_system; 59extern Lisp_Object Vwindow_system;