aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1998-04-09 18:12:46 +0000
committerKarl Heuer <[email protected]>1998-04-09 18:12:46 +0000
commit03887dd3884cd7bf42ed18f2fac974653fb628be (patch)
treeea3d65593cff5bf79dc1920f01d1c0d20492a352 /src/w32.c
parentf4fe72d542cac4978ce691b89a0fe2524515b274 (diff)
(min, max): Define as macros.
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index f64e015744..ca05a17c83 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -79,6 +79,11 @@ Boston, MA 02111-1307, USA.
#include "ndir.h"
#include "w32heap.h"
+#undef min
+#undef max
+#define min(x, y) (((x) < (y)) ? (x) : (y))
+#define max(x, y) (((x) > (y)) ? (x) : (y))
+
extern Lisp_Object Vw32_downcase_file_names;
extern Lisp_Object Vw32_generate_fake_inodes;
extern Lisp_Object Vw32_get_true_file_attributes;