summaryrefslogtreecommitdiff
path: root/src/unexw32.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-04-09 18:12:46 +0000
committerKarl Heuer <kwzh@gnu.org>1998-04-09 18:12:46 +0000
commit03887dd3884cd7bf42ed18f2fac974653fb628be (patch)
treeea3d65593cff5bf79dc1920f01d1c0d20492a352 /src/unexw32.c
parentf4fe72d542cac4978ce691b89a0fe2524515b274 (diff)
(min, max): Define as macros.
Diffstat (limited to 'src/unexw32.c')
-rw-r--r--src/unexw32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index b1fa3e85ee..5d196a8b1c 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -47,6 +47,11 @@ extern char my_endbss[];
#include "w32heap.h"
+#undef min
+#undef max
+#define min(x, y) (((x) < (y)) ? (x) : (y))
+#define max(x, y) (((x) > (y)) ? (x) : (y))
+
/* Basically, our "initialized" flag. */
BOOL need_to_recreate_heap = FALSE;