summaryrefslogtreecommitdiff
path: root/src/safeguards.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safeguards.h')
-rw-r--r--src/safeguards.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/safeguards.h b/src/safeguards.h
index 12d704879..f447627e6 100644
--- a/src/safeguards.h
+++ b/src/safeguards.h
@@ -56,4 +56,19 @@
/* No clear replacement. */
#define strtok SAFEGUARD_DO_NOT_USE_THIS_METHOD
+/* Use our own templated implementation instead of a macro or function with only one type. */
+#ifdef min
+#undef min
+#endif
+
+/* Use our own templated implementation instead of a macro or function with only one type. */
+#ifdef max
+#undef max
+#endif
+
+/* Use our own templated implementation instead of a macro or function with only one type. */
+#ifdef abs
+#undef abs
+#endif
+
#endif /* SAFEGUARDS_H */