diff options
author | Dirk Huss <dirk_huss@mentor.com> | 2016-05-25 19:00:32 +0200 |
---|---|---|
committer | Dirk Huss <dirk_huss@mentor.com> | 2016-05-25 19:00:32 +0200 |
commit | 534894b27a5e6b86cf8d2bd7b53d55d04f2a1bcc (patch) | |
tree | 3ee994cc8d94f3c5e96c1b88dd15bc9d58e81e89 /include/CommonAPI/Export.hpp | |
parent | 1c158272e2ee4b93021a97ac3b5c207a137b0d2c (diff) | |
download | genivi-common-api-runtime-534894b27a5e6b86cf8d2bd7b53d55d04f2a1bcc.tar.gz |
CommonAPI 3.1.83.1.8
Diffstat (limited to 'include/CommonAPI/Export.hpp')
-rw-r--r-- | include/CommonAPI/Export.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/CommonAPI/Export.hpp b/include/CommonAPI/Export.hpp index 1513ac9..b95693b 100644 --- a/include/CommonAPI/Export.hpp +++ b/include/CommonAPI/Export.hpp @@ -8,6 +8,7 @@ #ifdef WIN32 #define COMMONAPI_EXPORT __declspec(dllexport) + #define COMMONAPI_EXPORT_CLASS_EXPLICIT #if COMMONAPI_DLL_COMPILATION #define COMMONAPI_IMPORT_EXPORT __declspec(dllexport) @@ -15,7 +16,8 @@ #define COMMONAPI_IMPORT_EXPORT __declspec(dllimport) #endif #else - #define COMMONAPI_EXPORT + #define COMMONAPI_EXPORT __attribute__ ((visibility ("default"))) + #define COMMONAPI_EXPORT_CLASS_EXPLICIT COMMONAPI_EXPORT #define COMMONAPI_IMPORT_EXPORT #endif |