aboutsummaryrefslogtreecommitdiff
path: root/libcxx/test/support/test_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r--libcxx/test/support/test_macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h
index f65d0e1..c3794ab 100644
--- a/libcxx/test/support/test_macros.h
+++ b/libcxx/test/support/test_macros.h
@@ -376,6 +376,10 @@ inline void DoNotOptimize(Tp const& value) {
# define TEST_HAS_NO_UNICODE_CHARS
#endif
+#if defined(_LIBCPP_HAS_NO_LOCALIZATION)
+# define TEST_HAS_NO_LOCALIZATION
+#endif
+
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif