Ver Fonte

first pass at hidden_def() macro based on the glibc one

Mike Frysinger há 18 anos atrás
pai
commit
f97fb53f14
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      include/libc-internal.h

+ 1 - 0
include/libc-internal.h

@@ -97,6 +97,7 @@
 #else
 # define attribute_hidden
 #endif
+#define hidden_def(name) extern __typeof (name) name attribute_hidden;
 
 #ifdef __UCLIBC_BUILD_RELRO__
 # define attribute_relro __attribute__ ((section (".data.rel.ro")))