diff options
-rw-r--r-- | libcxx/include/__config | 3 | ||||
-rw-r--r-- | libcxx/test/support/test_macros.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index a6ed5c69a47..9f5f8452663 100644 --- a/libcxx/include/__config +++ b/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 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 |