Explorar o código

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

Eric Andersen %!s(int64=24) %!d(string=hai) anos
pai
achega
e8601fea85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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[]		      \