mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
Cygwin GCC doesn't have a C++11 STL library
This commit is contained in:
parent
4b5694a51c
commit
85e88a366d
@ -65,6 +65,8 @@
|
|||||||
|
|
||||||
#ifdef GLM_FORCE_PLATFORM_UNKNOWN
|
#ifdef GLM_FORCE_PLATFORM_UNKNOWN
|
||||||
# define GLM_PLATFORM GLM_PLATFORM_UNKNOWN
|
# define GLM_PLATFORM GLM_PLATFORM_UNKNOWN
|
||||||
|
#elif defined(__CYGWIN__)
|
||||||
|
# define GLM_PLATFORM GLM_PLATFORM_CYGWIN
|
||||||
#elif defined(__QNXNTO__)
|
#elif defined(__QNXNTO__)
|
||||||
# define GLM_PLATFORM GLM_PLATFORM_QNXNTO
|
# define GLM_PLATFORM GLM_PLATFORM_QNXNTO
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
@ -650,7 +652,7 @@
|
|||||||
// http://gcc.gnu.org/projects/cxx0x.html
|
// http://gcc.gnu.org/projects/cxx0x.html
|
||||||
// http://msdn.microsoft.com/en-us/library/vstudio/hh567368(v=vs.120).aspx
|
// http://msdn.microsoft.com/en-us/library/vstudio/hh567368(v=vs.120).aspx
|
||||||
|
|
||||||
#if GLM_PLATFORM == GLM_PLATFORM_ANDROID
|
#if GLM_PLATFORM == GLM_PLATFORM_ANDROID || GLM_PLATFORM == GLM_PLATFORM_CYGWIN
|
||||||
# define GLM_HAS_CXX11_STL 0
|
# define GLM_HAS_CXX11_STL 0
|
||||||
#elif GLM_COMPILER & (GLM_COMPILER_LLVM | GLM_COMPILER_APPLE_CLANG)
|
#elif GLM_COMPILER & (GLM_COMPILER_LLVM | GLM_COMPILER_APPLE_CLANG)
|
||||||
# if __has_include(<__config>) // libc++
|
# if __has_include(<__config>) // libc++
|
||||||
|
Loading…
Reference in New Issue
Block a user