mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Fixed bug #13, ICC built on Linux
This commit is contained in:
parent
c7fa6d745a
commit
a7fb9f31fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user