aboutsummaryrefslogtreecommitdiffstats
path: root/community/glm/fix-const-expr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/glm/fix-const-expr.patch')
-rw-r--r--community/glm/fix-const-expr.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/glm/fix-const-expr.patch b/community/glm/fix-const-expr.patch
new file mode 100644
index 0000000000..c977036983
--- /dev/null
+++ b/community/glm/fix-const-expr.patch
@@ -0,0 +1,10 @@
+--- a/glm/detail/setup.hpp
++++ b/glm/detail/setup.hpp
+@@ -283,7 +283,6 @@
+ #else
+ # define GLM_HAS_CONSTEXPR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && GLM_HAS_INITIALIZER_LISTS && (\
+ ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL17)) || \
+- ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC6)) || \
+ ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15))))
+ #endif
+