summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_export.h')
-rw-r--r--ipc/ipc_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_export.h b/ipc/ipc_export.h
index f6c382a..3c658db 100644
--- a/ipc/ipc_export.h
+++ b/ipc/ipc_export.h
@@ -19,7 +19,11 @@
#endif // defined(IPC_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(IPC_IMPLEMENTATION)
#define IPC_EXPORT __attribute__((visibility("default")))
+#else
+#define IPC_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)