diff options
Diffstat (limited to 'include/util/Exportable.hpp')
-rwxr-xr-x | include/util/Exportable.hpp | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/util/Exportable.hpp b/include/util/Exportable.hpp index a676ae3..fc8269f 100755 --- a/include/util/Exportable.hpp +++ b/include/util/Exportable.hpp @@ -3,21 +3,22 @@ #ifndef _WIN32 -#define SINGLETON_EXPORT -#define SINGLETON_EXTERN - -#define DLL_EXPORT +#define DLL_VISIBLE +#define DLL_EXTERN #else -#define DLL_EXPORT __declspec(dllexport) - -#ifndef SHARED -#define SINGLETON_EXPORT __declspec(dllexport) -#define SINGLETON_EXTERN +#ifdef NODLL +#define DLL_VISIBLE +#define DLL_EXTERN #else -#define SINGLETON_EXPORT __declspec(dllimport) -#define SINGLETON_EXTERN extern +#ifdef SHARED +#define DLL_VISIBLE __declspec(dllexport) +#define DLL_EXTERN +#else +#define DLL_VISIBLE __declspec(dllimport) +#define DLL_EXTERN +#endif #endif #endif // _WIN32 |