Browse Source

Added Intel compiler support

Christophe Riccio 13 years ago
parent
commit
1822f9dd04
1 changed files with 4 additions and 0 deletions
  1. 4 0
      glm/core/func_common.inl

+ 4 - 0
glm/core/func_common.inl

@@ -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