2
0
Эх сурвалжийг харах

Fixed Visual C++ 2013 test build

Christophe Riccio 9 жил өмнө
parent
commit
f882bf5909

+ 1 - 1
test/core/core_type_aligned.cpp

@@ -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;