From 6846b0036a0ff938d93c2d4df0f177dab3e06623 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Fri, 3 Oct 2014 08:35:10 +0400 Subject: Consistently use min and max macros from lisp.h. * coding.c (min, max): * font.c (MAX): * unexhp9k800.c (min): * unexw32.c (min, max): Use definitions from lisp.h. * regex.c (MAX, MIN) [!emacs]: Define own max and min as such. Adjust users. * gmalloc.c (min): Tiny style change. --- src/unexw32.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/unexw32.c') diff --git a/src/unexw32.c b/src/unexw32.c index 95c805d09ae..5c1c1f3f391 100644 --- a/src/unexw32.c +++ b/src/unexw32.c @@ -48,11 +48,6 @@ extern char *my_begbss_static; #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 using_dynamic_heap = FALSE; -- cgit v1.2.1