OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ea4a7
)
Arrange to hide uClibc internals
author
Eric Andersen
<andersen@codepoet.org>
Wed, 27 Oct 2004 07:26:21 +0000
(07:26 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 27 Oct 2004 07:26:21 +0000
(07:26 -0000)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
9f58132
..
d74c7d1
100644
(file)
--- a/
include/features.h
+++ b/
include/features.h
@@
-418,6
+418,13
@@
uClibc was built without large file support enabled.
#define __LINUX_COMPILER_H
#endif
+/* Arrange to hide uClibc internals */
+#if __GNUC_PREREQ (3, 3)
+# define attribute_hidden __attribute__ ((visibility ("hidden")))
+#else
+# define attribute_hidden
+#endif
+
/* Pull in things like __attribute_used__ */
#include <sys/cdefs.h>