Commit e4b68333 authored by Richard M. Stallman's avatar Richard M. Stallman

(min, max): Don't define if already defined.

parent 9c35997b
......@@ -115,8 +115,12 @@ extern void _XEditResCheckMessages ();
#include <X11/Xlibint.h>
#endif
#ifndef min
#define min(a,b) ((a)<(b) ? (a) : (b))
#endif
#ifndef max
#define max(a,b) ((a)>(b) ? (a) : (b))
#endif
/* This is a chain of structures for all the X displays currently in use. */
struct x_display_info *x_display_list;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment