Fixed Visual C++ 2013 test build

This commit is contained in:
Christophe Riccio 2016-11-19 21:46:02 +01:00
parent 9842b50641
commit f882bf5909

View File

@ -94,7 +94,7 @@ int test_unaligned()
size_t align64_unaligned = alignof(glm::detail::storage<int, 64, false>::type); size_t align64_unaligned = alignof(glm::detail::storage<int, 64, false>::type);
Error += align64_unaligned == 1 ? 0 : 1; Error += align64_unaligned == 1 ? 0 : 1;
# else # elif GLM_COMPILER & GLM_COMPILER_GCC
size_t align1_unaligned = __alignof__(glm::detail::storage<int, 1, false>::type); size_t align1_unaligned = __alignof__(glm::detail::storage<int, 1, false>::type);
Error += align1_unaligned == 1 ? 0 : 1; Error += align1_unaligned == 1 ? 0 : 1;