Преглед на файлове

Do not expose the weak_alias() junk to the world. Wrap it
inside an #if defined _LIBC
-Erik

Eric Andersen преди 22 години
родител
ревизия
e8601fea85
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      include/features.h

+ 1 - 1
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[]		      \