Fix for android build issue.

This commit is contained in:
blitz-research 2014-06-27 11:16:51 +12:00
parent 6f59e64a55
commit 1eeed2b4a5

View File

@ -245,7 +245,7 @@ namespace glm
# if((GLM_LANG & GLM_LANG_CXX11_FLAG) && !(GLM_PLATFORM & GLM_PLATFORM_ANDROID))
return std::nextafter(x, std::numeric_limits<double>::min());
# elif((GLM_PLATFORM & GLM_PLATFORM_ANDROID) || (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
return _nextafter(x, DBL_MIN);
return detail::nextafter(x, DBL_MIN);
# else
return nextafter(x, DBL_MIN);
# endif