aboutsummaryrefslogtreecommitdiff
path: root/src/common/Define.h
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2016-04-16 13:02:49 +0200
committerNaios <naios-dev@live.de>2016-04-16 22:07:07 +0200
commit5fa7127927a78802a8fcfdd822f0632665609231 (patch)
treedcc59a166e200b70fdfe7f364e9f45ba05c1b638 /src/common/Define.h
parent37a79bde975aeb95d512cd172e8de0a799b8530e (diff)
Core/Proto: Convert the proto project to a standalone shared library
* Fixes issues with dynamic linking on linux * Closes #16981
Diffstat (limited to 'src/common/Define.h')
-rw-r--r--src/common/Define.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/Define.h b/src/common/Define.h
index 07b79252074..35a4dad3e1b 100644
--- a/src/common/Define.h
+++ b/src/common/Define.h
@@ -116,6 +116,12 @@
# define TC_COMMON_API TC_API_IMPORT
#endif
+#ifdef TRINITY_API_EXPORT_PROTO
+# define TC_PROTO_API TC_API_EXPORT
+#else
+# define TC_PROTO_API TC_API_IMPORT
+#endif
+
#ifdef TRINITY_API_EXPORT_DATABASE
# define TC_DATABASE_API TC_API_EXPORT
#else