From e8601fea8507cc5a8cdb287c62a91b568c59a64e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 2 Feb 2002 13:53:32 +0000 Subject: Do not expose the weak_alias() junk to the world. Wrap it inside an #if defined _LIBC -Erik --- include/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/features.h b/include/features.h index d950d6fb2..cfbca88e3 100644 --- a/include/features.h +++ b/include/features.h @@ -328,7 +328,7 @@ #undef __need_uClibc_config_h /* Some nice features only work properly with ELF */ -#if defined HAVE_ELF +#if defined _LIBC && defined HAVE_ELF # define link_warning(symbol, msg) \ asm (".section " ".gnu.warning." #symbol "\n\t.previous"); \ static const char __evoke_link_warning_##symbol[] \ -- cgit v1.2.3