[max]: Undef min and max before redefining them.
This commit is contained in:
parent
166253cb39
commit
152180e34e
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue