From 1822f9dd047fecd2604c4d20d04936a4035cd67e Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 11 Sep 2012 02:30:28 +0200 Subject: [PATCH] Added Intel compiler support --- glm/core/func_common.inl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glm/core/func_common.inl b/glm/core/func_common.inl index 0fe59277..34246047 100644 --- a/glm/core/func_common.inl +++ b/glm/core/func_common.inl @@ -816,6 +816,8 @@ namespace detail # else return std::isnan(x) != 0; # endif +# elif(GLM_COMPILER & GLM_COMPILER_INTEL) + return isnan(x) != 0; # else return std::isnan(x) != 0; # endif @@ -871,6 +873,8 @@ namespace detail # else return std::isinf(x) != 0; # endif +# elif(GLM_COMPILER & GLM_COMPILER_INTEL) + return isinf(x) != 0; # else return std::isinf(x) != 0; # endif