[libcxx-commits] [PATCH] D71522: Define _LIBCPP_HAS_TIMESPEC_GET for FreeBSD when appropriate
Dimitry Andric via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 29 23:03:41 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e416ba943b7: Define _LIBCPP_HAS_TIMESPEC_GET for FreeBSD when appropriate (authored by dim).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71522/new/
https://reviews.llvm.org/D71522
Files:
libcxx/include/__config
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -342,6 +342,10 @@
# define _LIBCPP_HAS_ALIGNED_ALLOC
# define _LIBCPP_HAS_QUICK_EXIT
# define _LIBCPP_HAS_C11_FEATURES
+# if __FreeBSD_version >= 1300064 || \
+ (__FreeBSD_version >= 1201504 && __FreeBSD_version < 1300000)
+# define _LIBCPP_HAS_TIMESPEC_GET
+# endif
# elif defined(__BIONIC__)
# define _LIBCPP_HAS_C11_FEATURES
# if __ANDROID_API__ >= 21
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71522.241353.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200130/459074a7/attachment.bin>
More information about the libcxx-commits
mailing list