Go to the documentation of this file.   40 #ifndef __OPENFLUID_DLLEXPORT_HPP__    41 #define __OPENFLUID_DLLEXPORT_HPP__    44 #include <openfluid/global.hpp>    51 #if defined OPENFLUID_OS_WINDOWS    52   #define OPENFLUID_HELPER_DLL_IMPORT __declspec(dllimport)    53   #define OPENFLUID_HELPER_DLL_EXPORT __declspec(dllexport)    54   #define OPENFLUID_HELPER_DLL_LOCAL    57     #define OPENFLUID_HELPER_DLL_IMPORT __attribute__ ((visibility ("default")))    58     #define OPENFLUID_HELPER_DLL_EXPORT __attribute__ ((visibility ("default")))    59     #define OPENFLUID_HELPER_DLL_LOCAL  __attribute__ ((visibility ("hidden")))    61     #define OPENFLUID_HELPER_DLL_IMPORT    62     #define OPENFLUID_HELPER_DLL_EXPORT    63     #define OPENFLUID_HELPER_DLL_LOCAL    77 #ifdef OPENFLUID_DLL // lib is a DLL    78   #ifdef OPENFLUID_DLL_EXPORTS // defined if we are building the DLL (instead of using it)    79     #define OPENFLUID_API OPENFLUID_HELPER_DLL_EXPORT    81     #define OPENFLUID_API OPENFLUID_HELPER_DLL_IMPORT    83   #define OPENFLUID_LOCAL OPENFLUID_HELPER_DLL_LOCAL    84   #define OPENFLUID_PLUGIN OPENFLUID_HELPER_DLL_EXPORT    85 #else // lib is static    87   #define OPENFLUID_LOCAL    88   #define OPENFLUID_PLUGIN OPENFLUID_HELPER_DLL_EXPORT