Fixed bug #13, ICC built on Linux

This commit is contained in:
Christophe Riccio 2012-12-10 14:07:33 +01:00
parent c7fa6d745a
commit a7fb9f31fd

View File

@ -188,12 +188,12 @@ namespace detail
#pragma warning(pop) #pragma warning(pop)
#if((GLM_COMPILER & GLM_COMPILER_VC) || (GLM_COMPILER & GLM_COMPILER_INTEL)) #if((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
# define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward)) # define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
# define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward)) # define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
#else #else
# define GLM_NEXT_AFTER_FLT(x, toward) nextafterf((x), (toward)) # define GLM_NEXT_AFTER_FLT(x, toward) nextafterf((x), (toward))
# define GLM_NEXT_AFTER_DBL(x, toward) nextafter((x), (toward)) # define GLM_NEXT_AFTER_DBL(x, toward) nextafter((x), (toward))
#endif #endif
namespace glm namespace glm