Jelajahi Sumber

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

Mike Frysinger 18 tahun lalu
induk
melakukan
f97fb53f14
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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")))