summaryrefslogtreecommitdiff
path: root/src/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro.h')
-rw-r--r--src/macro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macro.h b/src/macro.h
index 763a4de27a..d00e70bf6d 100644
--- a/src/macro.h
+++ b/src/macro.h
@@ -38,6 +38,8 @@
#define _weak_ __attribute__ ((weak))
#define _likely_(x) (__builtin_expect(!!(x),1))
#define _unlikely_(x) (__builtin_expect(!!(x),0))
+#define _public_ __attribute__ ((visibility("default")))
+#define _hidden_ __attribute__ ((visibility("hidden")))
/* Rounds up */
static inline size_t ALIGN(size_t l) {