aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbjj <bjj>1997-03-05 08:20:51 +0000
committerbjj <bjj>1997-03-05 08:20:51 +0000
commit322d9846b3a375a91ab709cacdac546c7011f868 (patch)
treeba32a6b10d7b43aeed319858ce1d00e34267494d
parent0b951fdc3b2c42ec26b698af4ba36c18197a38cd (diff)
downloadmoo-322d9846b3a375a91ab709cacdac546c7011f868.tar.gz
moo-322d9846b3a375a91ab709cacdac546c7011f868.tar.xz
moo-322d9846b3a375a91ab709cacdac546c7011f868.zip
With 1.2 (oops) add MIN/MAX macros that do the obvious thing, with undef to
avoid clashing with system definitions.
-rw-r--r--utils.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 15deff9..d8dc08f 100644
--- a/utils.h
+++ b/utils.h
@@ -23,6 +23,8 @@
#include "config.h"
#include "execute.h"
+#undef MAX
+#undef MIN
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
@@ -57,9 +59,13 @@ extern const char *binary_to_raw_bytes(const char *binary, int *rawlen);
#endif
/* $Log$
-/* Revision 1.3 1997/03/05 08:15:55 bjj
-/* *** empty log message ***
+/* Revision 1.4 1997/03/05 08:20:51 bjj
+/* With 1.2 (oops) add MIN/MAX macros that do the obvious thing, with undef to
+/* avoid clashing with system definitions.
/*
+ * Revision 1.3 1997/03/05 08:15:55 bjj
+ * *** empty log message ***
+ *
* Revision 1.2 1997/03/03 04:19:37 nop
* GNU Indent normalization
*