summaryrefslogtreecommitdiff
path: root/src/glm/core/_fixes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glm/core/_fixes.hpp')
-rw-r--r--src/glm/core/_fixes.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/glm/core/_fixes.hpp b/src/glm/core/_fixes.hpp
new file mode 100644
index 0000000..50631b5
--- /dev/null
+++ b/src/glm/core/_fixes.hpp
@@ -0,0 +1,18 @@
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Created : 2011-02-21
+// Updated : 2011-02-21
+// Licence : This source is under MIT License
+// File : glm/core/_fixes.hpp
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
+//! Workaround for compatibility with other libraries
+#ifdef max
+#undef max
+#endif
+
+//! Workaround for compatibility with other libraries
+#ifdef min
+#undef min
+#endif