summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-02 13:53:32 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-02 13:53:32 +0000
commite8601fea8507cc5a8cdb287c62a91b568c59a64e (patch)
tree7bb7220b19735093a4c665e80dd59801a8f567b5 /include/features.h
parent670b96a4456291c9e70d10e8312286b51a66f726 (diff)
Do not expose the weak_alias() junk to the world. Wrap it
inside an #if defined _LIBC -Erik
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h2
1 files changed, 1 insertions, 1 deletions
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[] \