changeset 14522:9cee3e7c6468

(min, max): Don't define if already defined.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Feb 1996 21:58:53 +0000
parents 4ffaeb5318c0
children e260aa3684a5
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Feb 08 19:04:58 1996 +0000
+++ b/src/xterm.c	Thu Feb 08 21:58:53 1996 +0000
@@ -115,8 +115,12 @@
 #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;