summaryrefslogtreecommitdiffstats
path: root/libdimension/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/compiler.h')
-rw-r--r--libdimension/compiler.h4
1 files changed, 3 insertions, 1 deletions
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 */