mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 10:14:35 +00:00
Fix for GLM_HAS_CXX11_STL detection
Fix to the bug with the GLM_HAS_CXX11_STL detection using Clang and VS Toolchain on Windows due to the lack of libc++ on Windows.
This commit is contained in:
parent
8cd6db11cd
commit
3125f83f16
@ -143,7 +143,8 @@
|
|||||||
#if GLM_PLATFORM == GLM_PLATFORM_ANDROID && !defined(GLM_LANG_STL11_FORCED)
|
#if GLM_PLATFORM == GLM_PLATFORM_ANDROID && !defined(GLM_LANG_STL11_FORCED)
|
||||||
# define GLM_HAS_CXX11_STL 0
|
# define GLM_HAS_CXX11_STL 0
|
||||||
#elif GLM_COMPILER & GLM_COMPILER_CLANG
|
#elif GLM_COMPILER & GLM_COMPILER_CLANG
|
||||||
# if (defined(_LIBCPP_VERSION) && GLM_LANG & GLM_LANG_CXX11_FLAG) || defined(GLM_LANG_STL11_FORCED)
|
# if ((defined(_LIBCPP_VERSION) || defined(_MSC_VER)) && GLM_LANG & GLM_LANG_CXX11_FLAG) || \
|
||||||
|
defined(GLM_LANG_STL11_FORCED)
|
||||||
# define GLM_HAS_CXX11_STL 1
|
# define GLM_HAS_CXX11_STL 1
|
||||||
# else
|
# else
|
||||||
# define GLM_HAS_CXX11_STL 0
|
# define GLM_HAS_CXX11_STL 0
|
||||||
|
Loading…
Reference in New Issue
Block a user