[libcxx-commits] [libcxx] [libc++] Provide flag for RUNTIMES_USE_LIBC=llvm-libc (PR #174967)

Volodymyr Turanskyy via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 9 03:04:12 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
----------------
voltur01 wrote:

Thank you for the confirmation!

https://github.com/llvm/llvm-project/pull/174967


More information about the libcxx-commits mailing list