Go to the documentation of this file. 1 #ifndef _STRUS_DLL_SYMBOL_TAGS_HPP_INCLUDED
2 #define _STRUS_DLL_SYMBOL_TAGS_HPP_INCLUDED
4 #if defined _WIN32 || defined __CYGWIN__
7 #define DLL_PUBLIC __attribute__ ((dllexport))
9 #define DLL_PUBLIC __declspec(dllexport) // Note: actually gcc seems to also supports this syntax.
13 #define DLL_PUBLIC __attribute__ ((dllimport))
15 #define DLL_PUBLIC __declspec(dllimport) // Note: actually gcc seems to also supports this syntax.
21 #define DLL_PUBLIC __attribute__ ((visibility ("default")))
22 #define DLL_LOCAL __attribute__ ((visibility ("hidden")))