[libc-commits] [libc] [libc] Disable hidden visibility for LIBC_NAMESPACE with GCC (PR #98549)

via libc-commits libc-commits at lists.llvm.org
Thu Jul 11 14:03:05 PDT 2024


================
@@ -28,6 +28,7 @@
 #define LIBC_HAS_FEATURE(f) 0
 #endif
 
+#ifndef __GNUC__
----------------
lntue wrote:

I think clang also define this macro.  Probably `#ifdef __clang__` is safer?

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


More information about the libc-commits mailing list