comparison src/xfns.c @ 39682:5f60884970a8

Don't define min/max.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 08 Oct 2001 08:07:49 +0000
parents a4def4204419
children 66e0816837a8
comparison
equal deleted inserted replaced
39681:87cc624f4e1e 39682:5f60884970a8
114 static Lisp_Object Vmotif_version_string; 114 static Lisp_Object Vmotif_version_string;
115 115
116 #endif /* USE_MOTIF */ 116 #endif /* USE_MOTIF */
117 117
118 #endif /* USE_X_TOOLKIT */ 118 #endif /* USE_X_TOOLKIT */
119
120 #define min(a,b) ((a) < (b) ? (a) : (b))
121 #define max(a,b) ((a) > (b) ? (a) : (b))
122 119
123 #ifdef HAVE_X11R4 120 #ifdef HAVE_X11R4
124 #define MAXREQUEST(dpy) (XMaxRequestSize (dpy)) 121 #define MAXREQUEST(dpy) (XMaxRequestSize (dpy))
125 #else 122 #else
126 #define MAXREQUEST(dpy) ((dpy)->max_request_size) 123 #define MAXREQUEST(dpy) ((dpy)->max_request_size)