mcst-linux-kernel/patches-2024.06.26/glm-0.9.9.5/0001-lcc-1.24-compat.patch

13 lines
409 B
Diff
Raw Permalink Normal View History

2024-07-09 13:51:45 +03:00
diff -Naur orig/glm/detail/setup.hpp new/glm/detail/setup.hpp
--- orig/glm/detail/setup.hpp 2019-08-20 16:26:17.315706719 +0000
+++ new/glm/detail/setup.hpp 2019-08-20 16:26:49.975705839 +0000
@@ -308,7 +308,7 @@
# define GLM_HAS_IF_CONSTEXPR 0
#endif
-#if GLM_HAS_IF_CONSTEXPR
+#if GLM_HAS_IF_CONSTEXPR && ! defined (__LCC__)
# define GLM_IF_CONSTEXPR if constexpr
#else
# define GLM_IF_CONSTEXPR if