mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Fixed Intel compiler detection
This commit is contained in:
parent
b012c80771
commit
1eac545656
@ -817,16 +817,6 @@ namespace detail
|
||||
# else
|
||||
return std::isnan(x);
|
||||
# endif
|
||||
/*
|
||||
# elif(GLM_COMPILER & GLM_COMPILER_GCC)
|
||||
# if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
||||
return _isnan(x) != 0;
|
||||
# else
|
||||
return std::isnan(x);
|
||||
# endif
|
||||
# elif(GLM_COMPILER & GLM_COMPILER_INTEL)
|
||||
return _isnan(x) != 0;
|
||||
*/
|
||||
# else
|
||||
return std::isnan(x);
|
||||
# endif
|
||||
|
@ -142,6 +142,9 @@ int test_compiler()
|
||||
case GLM_COMPILER_LLVM_GCC:
|
||||
std::cout << "GLM_COMPILER_LLVM_GCC" << std::endl;
|
||||
break;
|
||||
case GLM_COMPILER_INTEL:
|
||||
std::cout << "GLM_COMPILER_INTEL" << std::endl;
|
||||
break;
|
||||
default:
|
||||
std::cout << "Undetected compiler" << std::endl;
|
||||
Error += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user