summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
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[] \