Sfoglia il codice sorgente

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

Mike Frysinger 20 anni fa
parent
commit
f97fb53f14
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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")))