From 00a195c687fb1b0e805821037c3de58f0bafd531 Mon Sep 17 00:00:00 2001 From: Robert Chisholm Date: Wed, 19 May 2021 13:53:48 +0100 Subject: [PATCH] BugFix: CUDA RTC support. Someone noticed that c6dfaed would also catch GLM_COMPILER_GCC8 --- glm/detail/setup.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 4831f577..bb098552 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -142,7 +142,7 @@ // Android has multiple STLs but C++11 STL detection doesn't always work #284 #564 #if GLM_PLATFORM == GLM_PLATFORM_ANDROID && !defined(GLM_LANG_STL11_FORCED) # define GLM_HAS_CXX11_STL 0 -#elif GLM_COMPILER & GLM_COMPILER_CUDA_RTC +#elif (GLM_COMPILER & GLM_COMPILER_CUDA_RTC) == GLM_COMPILER_CUDA_RTC # define GLM_HAS_CXX11_STL 0 #elif GLM_COMPILER & GLM_COMPILER_CLANG # if (defined(_LIBCPP_VERSION) || (GLM_LANG & GLM_LANG_CXX11_FLAG) || defined(GLM_LANG_STL11_FORCED))