X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmacros.h;h=f6f975d1453d7ffa89deb2e4e97f55afafee514c;hb=99c815c136c28d8bd8cb270d3eb981901a28c6a6;hp=1771d236c2daa3eeea5a807bef5ddc83cbb6d677;hpb=dc359c0cbcd011f35521248c2e9db16785277c26;p=lttng-tools.git diff --git a/src/common/macros.h b/src/common/macros.h index 1771d236c..f6f975d14 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -64,4 +64,8 @@ #define LTTNG_PACKED __attribute__((__packed__)) #endif +#ifndef LTTNG_HIDDEN +#define LTTNG_HIDDEN __attribute__((visibility("hidden"))) +#endif + #endif /* _MACROS_H */