From 5fa7127927a78802a8fcfdd822f0632665609231 Mon Sep 17 00:00:00 2001 From: Naios Date: Sat, 16 Apr 2016 13:02:49 +0200 Subject: Core/Proto: Convert the proto project to a standalone shared library * Fixes issues with dynamic linking on linux * Closes #16981 --- src/common/Define.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/common/Define.h') 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 -- cgit v1.2.3