From a7cd3703ea1ff4686d49888f014c746b56411fdf Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 21 Apr 2011 23:00:26 -0400 Subject: New DMNSN_INTERNAL tag. --- libdimension/compiler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdimension/compiler.h') diff --git a/libdimension/compiler.h b/libdimension/compiler.h index b647aea..7166a19 100644 --- a/libdimension/compiler.h +++ b/libdimension/compiler.h @@ -42,9 +42,11 @@ #endif #ifdef __GNUC__ - #define DMNSN_HOT __attribute__((hot)) + #define DMNSN_HOT __attribute__((hot)) + #define DMNSN_INTERNAL __attribute__((visibility("hidden"))) #else #define DMNSN_HOT + #define DMNSN_INTERNAL #endif #endif /* DIMENSION_IMPL_COMPILER_H */ -- cgit v1.2.3