From 99c815c136c28d8bd8cb270d3eb981901a28c6a6 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 25 Jan 2013 12:02:06 -0500 Subject: [PATCH] Add LTTNG_HIDDEN macro for hidden attribute Signed-off-by: David Goulet --- src/common/macros.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.34.1