소스 검색

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

Eric Andersen 24 년 전
부모
커밋
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[]		      \