summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/regint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/regint.h b/src/regint.h
index 23e3a8c05..aa4871594 100644
--- a/src/regint.h
+++ b/src/regint.h
@@ -222,8 +222,13 @@
#include "regenc.h"
+#ifndef MIN
#define MIN(a,b) (((a)>(b))?(b):(a))
+#endif
+
+#ifndef MAX
#define MAX(a,b) (((a)<(b))?(b):(a))
+#endif
#define IS_NULL(p) (((void*)(p)) == (void*)0)
#define IS_NOT_NULL(p) (((void*)(p)) != (void*)0)