summaryrefslogtreecommitdiff
path: root/ndb/src/rep/state/Interval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/rep/state/Interval.cpp')
-rw-r--r--ndb/src/rep/state/Interval.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/rep/state/Interval.cpp b/ndb/src/rep/state/Interval.cpp
index 75697fa7548..8266f19c58d 100644
--- a/ndb/src/rep/state/Interval.cpp
+++ b/ndb/src/rep/state/Interval.cpp
@@ -16,6 +16,8 @@
#include "Interval.hpp"
+#undef min
+#undef max
Uint32 max(Uint32 a, Uint32 b) { return a > b ? a : b; }
Uint32 min(Uint32 a, Uint32 b) { return a < b ? a : b; }