diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index 45e2033a..4345e8fa 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -104,7 +104,7 @@ namespace detail } }; -# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM)) +# if(GLM_ARCH != GLM_ARCH_PURE) && ((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_LLVM) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) template struct compute_findLSB { @@ -162,7 +162,7 @@ namespace detail } }; -# if(GLM_ARCH != GLM_ARCH_PURE) && (GLM_COMPILER & (GLM_COMPILER_VC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM)) +# if(GLM_ARCH != GLM_ARCH_PURE) && ((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_LLVM) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) template GLM_FUNC_QUALIFIER int compute_findMSB_32(genIUType Value) {