diff --git a/test/core/core_type_aligned.cpp b/test/core/core_type_aligned.cpp index cbb591f0..37cf4f95 100644 --- a/test/core/core_type_aligned.cpp +++ b/test/core/core_type_aligned.cpp @@ -94,7 +94,7 @@ int test_unaligned() size_t align64_unaligned = alignof(glm::detail::storage::type); Error += align64_unaligned == 1 ? 0 : 1; -# else +# elif GLM_COMPILER & GLM_COMPILER_GCC size_t align1_unaligned = __alignof__(glm::detail::storage::type); Error += align1_unaligned == 1 ? 0 : 1;