[libc-commits] [libc] [libc] Disable hidden visibility for LIBC_NAMESPACE with GCC (PR #98549)
Roland McGrath via libc-commits
libc-commits at lists.llvm.org
Thu Jul 11 14:03:34 PDT 2024
================
@@ -28,6 +28,7 @@
#define LIBC_HAS_FEATURE(f) 0
#endif
+#ifndef __GNUC__
----------------
frobtech wrote:
`__GNUC__` is defined by many compilers, including Clang.
You need `#ifdef __clang__` here.
https://github.com/llvm/llvm-project/pull/98549
More information about the libc-commits
mailing list