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,7 +188,7 @@ 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