[libc-commits] [libc] [libc] Use `LIBC_COPT_PUBLIC_PACKAGING` for hermetic and integration tests. (PR #79319)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Jan 29 09:09:52 PST 2024


================
@@ -44,7 +44,15 @@
 #endif
 
 #if !defined(__AMDGPU__) && !defined(__NVPTX__)
+
+#ifdef __cplusplus
+extern "C" {
+  extern thread_local int __llvmlibc_errno;
----------------
nickdesaulniers wrote:

libc/src/errno/libc_errno.cpp line 18 doesn't use indentation here; I think we should remove it here, too.

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


More information about the libc-commits mailing list