[libc-commits] [libc] [libc] temporaliy disable __USE_EXTERN_INLINES and set __USE_FORITFY_LEVEL to 1 before including in overlay mode (PR #113012)

via libc-commits libc-commits at lists.llvm.org
Fri Oct 18 18:33:50 PDT 2024


================
@@ -27,6 +27,17 @@
 #undef _FORTIFY_SOURCE
 #endif
 
+#ifdef __USE_EXTERN_INLINES
+#define LIBC_OLD_EXTERN_INLINES __USE_EXTERN_INLINES
----------------
lntue wrote:

`#define LIBC_OLD_EXTERN_INLINES` is enough, system headers do not set any value for `__USE_EXTERN_INLINES`

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


More information about the libc-commits mailing list