summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-03-07 22:06:58 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-03-07 22:06:58 +0000
commitb4722386193609f0b1bcf3716641d1ae05f4e677 (patch)
tree49b0584ab6a8893ac216022cbe3eb5ad255f2542 /fastos
parentb467cf4ff116dafe041860e26927305ac09f86c2 (diff)
Get VESPA_DLL_LOCAL from vespa/fastos/types.h
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fastos/src/vespa/fastos/types.h b/fastos/src/vespa/fastos/types.h
index a0806204e66..69dd3e5231c 100644
--- a/fastos/src/vespa/fastos/types.h
+++ b/fastos/src/vespa/fastos/types.h
@@ -4,3 +4,6 @@
#define FASTOS_PREFIX(a) FastOS_##a
+// New macros to support the new gcc visibility features.
+#define VESPA_DLL_EXPORT __attribute__ ((visibility("default")))
+#define VESPA_DLL_LOCAL __attribute__ ((visibility("hidden")))