[libcxx-commits] [PATCH] D71511: [libc++] Update feature list for NetBSD
Michał Górny via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 20 08:59:34 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe1882af9f670: [libc++] Update feature list for NetBSD (authored by mgorny).
Herald added a project: libc++.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71511/new/
https://reviews.llvm.org/D71511
Files:
libcxx/include/__config
libcxx/test/support/test_macros.h
Index: libcxx/test/support/test_macros.h
===================================================================
--- libcxx/test/support/test_macros.h
+++ 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
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -260,7 +260,6 @@
# else // _BYTE_ORDER == _LITTLE_ENDIAN
# define _LIBCPP_BIG_ENDIAN
# endif // _BYTE_ORDER == _LITTLE_ENDIAN
-# define _LIBCPP_HAS_QUICK_EXIT
#endif // __NetBSD__
#if defined(_WIN32)
@@ -354,7 +353,7 @@
# if __ANDROID_API__ >= 29
# define _LIBCPP_HAS_TIMESPEC_GET
# endif
-# elif defined(__Fuchsia__) || defined(__wasi__)
+# elif defined(__Fuchsia__) || defined(__wasi__) || defined(__NetBSD__)
# define _LIBCPP_HAS_ALIGNED_ALLOC
# define _LIBCPP_HAS_QUICK_EXIT
# define _LIBCPP_HAS_TIMESPEC_GET
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71511.234912.patch
Type: text/x-patch
Size: 1231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191220/d9b320d3/attachment.bin>
More information about the libcxx-commits
mailing list