[hackers] [sbase] Undef MIN/MAX in case they are defined somewhere else || sin
commit 49c91462b37ac87d182b0dcaf3493944a7ff7054
Author: sin <sin_AT_2f30.org>
Date: Thu Nov 13 15:27:54 2014 +0000
Undef MIN/MAX in case they are defined somewhere else
diff --git a/util.h b/util.h
index 83ca8e4..c3ca8a7 100644
--- a/util.h
+++ b/util.h
_AT_@ -5,7 +5,9 @@
#define UTF8_POINT(c) (((c) & 0xc0) != 0x80)
+#undef MIN
#define MIN(x,y) ((x) < (y) ? (x) : (y))
+#undef MAX
#define MAX(x,y) ((x) > (y) ? (x) : (y))
#define LEN(x) (sizeof (x) / sizeof *(x))
Received on Thu Nov 13 2014 - 17:01:38 CET
This archive was generated by hypermail 2.3.0
: Thu Nov 13 2014 - 17:12:11 CET