瀏覽代碼

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

Mike Frysinger 18 年之前
父節點
當前提交
f97fb53f14
共有 1 個文件被更改,包括 1 次插入0 次删除
  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")))