OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670b96a
)
Do not expose the weak_alias() junk to the world. Wrap it
author
Eric Andersen
<andersen@codepoet.org>
Sat, 2 Feb 2002 13:53:32 +0000
(13:53 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 2 Feb 2002 13:53:32 +0000
(13:53 -0000)
inside an #if defined _LIBC
-Erik
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
d950d6f
..
cfbca88
100644
(file)
--- 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[] \