aboutsummaryrefslogtreecommitdiff
path: root/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 7f8c810fcf..98ba7cd95a 100644
--- a/common/util.h
+++ b/common/util.h
@@ -23,6 +23,11 @@
#include "common/scummsys.h"
+#if defined (__INNOTEK_LIBC__)
+#undef MIN
+#undef MAX
+#endif
+
template<typename T> inline T ABS (T x) { return (x>=0) ? x : -x; }
#if !defined(MIN)
template<typename T> inline T MIN (T a, T b) { return (a<b) ? a : b; }