summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxxabi/test/test_exception_address_alignment.pass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxxabi/test/test_exception_address_alignment.pass.cpp b/libcxxabi/test/test_exception_address_alignment.pass.cpp
index 138fb4daf46..5d36659f4ae 100644
--- a/libcxxabi/test/test_exception_address_alignment.pass.cpp
+++ b/libcxxabi/test/test_exception_address_alignment.pass.cpp
@@ -20,6 +20,7 @@
#include <cstdint>
#include <cassert>
+#include <__cxxabi_config.h>
#include <unwind.h>
@@ -27,7 +28,7 @@ struct __attribute__((aligned)) AlignedType {};
// EHABI : 8-byte aligned
// Itanium: Largest supported alignment for the system
-#if defined(_LIBUNWIND_ARM_EHABI)
+#if defined(_LIBCXXABI_ARM_EHABI)
# define EXPECTED_ALIGNMENT 8
#else
# define EXPECTED_ALIGNMENT alignof(AlignedType)
OpenPOWER on IntegriCloud