diff options
Diffstat (limited to 'src/macro.h')
-rw-r--r-- | src/macro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macro.h b/src/macro.h index 7bd57b3a8e..10a106bc19 100644 --- a/src/macro.h +++ b/src/macro.h @@ -40,6 +40,7 @@ #define _unlikely_(x) (__builtin_expect(!!(x),0)) #define _public_ __attribute__ ((visibility("default"))) #define _hidden_ __attribute__ ((visibility("hidden"))) +#define _weakref_(x) __attribute__((weakref(#x))) /* Rounds up */ static inline size_t ALIGN(size_t l) { |