summaryrefslogtreecommitdiff
path: root/rts/eventlog/EventLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/eventlog/EventLog.h')
-rw-r--r--rts/eventlog/EventLog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.h b/rts/eventlog/EventLog.h
index 10903709d8..0358256357 100644
--- a/rts/eventlog/EventLog.h
+++ b/rts/eventlog/EventLog.h
@@ -12,6 +12,8 @@
#include "rts/EventLogFormat.h"
#include "Capability.h"
+#pragma GCC visibility push(hidden)
+
#ifdef EVENTLOG
/*
@@ -49,4 +51,6 @@ INLINE_HEADER void postEvent(Capability *cap STG_UNUSED,
#endif
+#pragma GCC visibility pop
+
#endif /* EVENTLOG_H */