mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 06:44:35 +00:00
Fixed CUDA support in MSVC for anonymous unions
This commit is contained in:
parent
ed3e0b64b9
commit
bd868e7d2c
@ -547,8 +547,9 @@
|
||||
#endif
|
||||
|
||||
// Not standard
|
||||
#define GLM_HAS_ANONYMOUS_UNION (GLM_LANG & GLM_LANG_CXXMS_FLAG)
|
||||
|
||||
#define GLM_HAS_ANONYMOUS_UNION ( \
|
||||
(GLM_LANG & GLM_LANG_CXXMS_FLAG) || \
|
||||
((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_CUDA)))
|
||||
/////////////////
|
||||
// Platform
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user