[libcxx-commits] [libcxx] [libc++] Provide flag for RUNTIMES_USE_LIBC=llvm-libc (PR #174967)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 9 02:08:52 PST 2026
================
@@ -32,7 +32,7 @@
# include <sys/time.h> // for gettimeofday and timeval
#endif
-#if defined(__LLVM_LIBC__)
+#if _LIBCPP_LIBC_LLVM_LIBC
# define _LIBCPP_HAS_TIMESPEC_GET
#endif
----------------
philnik777 wrote:
Oh, I didn't realize that. It should always be defined and checked for `#if _LIBCPP_HAS_TIMESPEC_GET` instead, but that should be fixed in a separate PR. Feel free to ignore.
https://github.com/llvm/llvm-project/pull/174967
More information about the libcxx-commits
mailing list