OSDN Git Service

Do not expose the weak_alias() junk to the world. Wrap it
authorEric Andersen <andersen@codepoet.org>
Sat, 2 Feb 2002 13:53:32 +0000 (13:53 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 2 Feb 2002 13:53:32 +0000 (13:53 -0000)
inside an #if defined _LIBC
 -Erik

include/features.h

index d950d6f..cfbca88 100644 (file)
 #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[]                 \