summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-14 14:17:19 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-20 17:50:47 +0100
commite1882af9f6701c2ddcd2853ffeff456d5a8bf8e3 (patch)
tree8edca5943e0fa74d09305b4ab5952514cba6840f /libcxx/test/support
parentff92c56ef97c62e6350531fd45ec1ad36ed25a3c (diff)
downloadbcm5719-llvm-e1882af9f6701c2ddcd2853ffeff456d5a8bf8e3.tar.gz
bcm5719-llvm-e1882af9f6701c2ddcd2853ffeff456d5a8bf8e3.zip
[libc++] Update feature list for NetBSD
Add NetBSD to the same feature list as Fuchsia since it matches in available features, effectively enabling aligned_alloc(), timespec_get() and C11 features. Remove now-duplicate declaration of quick_exit() support. Differential Revision: https://reviews.llvm.org/D71511
Diffstat (limited to 'libcxx/test/support')
-rw-r--r--libcxx/test/support/test_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h
index 443165516b2..6ab015db667 100644
--- a/libcxx/test/support/test_macros.h
+++ b/libcxx/test/support/test_macros.h
@@ -169,7 +169,7 @@
# if __ANDROID_API__ >= 29
# define TEST_HAS_TIMESPEC_GET
# endif
-# elif defined(__Fuchsia__) || defined(__wasi__)
+# elif defined(__Fuchsia__) || defined(__wasi__) || defined(__NetBSD__)
# define TEST_HAS_ALIGNED_ALLOC
# define TEST_HAS_C11_FEATURES
# define TEST_HAS_TIMESPEC_GET
OpenPOWER on IntegriCloud