Added Intel compiler support

This commit is contained in:
Christophe Riccio 2012-09-11 02:30:28 +02:00
parent e8cbc50343
commit 1822f9dd04

View File

@ -816,6 +816,8 @@ namespace detail
# else # else
return std::isnan(x) != 0; return std::isnan(x) != 0;
# endif # endif
# elif(GLM_COMPILER & GLM_COMPILER_INTEL)
return isnan(x) != 0;
# else # else
return std::isnan(x) != 0; return std::isnan(x) != 0;
# endif # endif
@ -871,6 +873,8 @@ namespace detail
# else # else
return std::isinf(x) != 0; return std::isinf(x) != 0;
# endif # endif
# elif(GLM_COMPILER & GLM_COMPILER_INTEL)
return isinf(x) != 0;
# else # else
return std::isinf(x) != 0; return std::isinf(x) != 0;
# endif # endif