diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-08 13:50:10 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-08 13:50:10 +0000 |
commit | 7421f89ac71e2535ae798e9545eaabc07d194dd9 (patch) | |
tree | 43eac4ad91a76dc0cd139c13c7042708257b955b /lib | |
parent | 336237249636adc7ea2af817255835275ea58e57 (diff) |
define _LIBCPP_HAS_TIMESPEC_GET and _LIBCPP_HAS_C11_FEATURES
OpenBSD has timespec_get(3) and struct timespec/aligned_alloc(3).
ok kettenis@ jca@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcxx/include/__config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libcxx/include/__config b/lib/libcxx/include/__config index 5295b77d4cf..7ec1d3de5d8 100644 --- a/lib/libcxx/include/__config +++ b/lib/libcxx/include/__config @@ -341,6 +341,9 @@ # if defined(__FreeBSD__) # define _LIBCPP_HAS_QUICK_EXIT # define _LIBCPP_HAS_C11_FEATURES +# elif defined(__OpenBSD__) +# define _LIBCPP_HAS_TIMESPEC_GET +# define _LIBCPP_HAS_C11_FEATURES # elif defined(__Fuchsia__) # define _LIBCPP_HAS_QUICK_EXIT # define _LIBCPP_HAS_TIMESPEC_GET |