[max]: Undef min and max before redefining them.

This commit is contained in:
Andrew Innes 2001-10-08 22:39:06 +00:00
parent 166253cb39
commit 152180e34e

View file

@ -3078,5 +3078,9 @@ extern Lisp_Object Vdirectory_sep_char;
/* The ubiquitous min and max macros. */
#ifdef max
#undef max
#undef min
#endif
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))