aboutsummaryrefslogtreecommitdiff
path: root/src/common/Define.h
diff options
context:
space:
mode:
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