diff options
Diffstat (limited to 'libbutl/export.hxx')
-rw-r--r-- | libbutl/export.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libbutl/export.hxx b/libbutl/export.hxx index f0529de..3c2d2a9 100644 --- a/libbutl/export.hxx +++ b/libbutl/export.hxx @@ -14,20 +14,20 @@ // the end it's all trial and error. #if defined(LIBBUTL_STATIC) // Using static. -# define LIBBUTL_EXPORT +# define LIBBUTL_SYMEXPORT #elif defined(LIBBUTL_STATIC_BUILD) // Building static. -# define LIBBUTL_EXPORT +# define LIBBUTL_SYMEXPORT #elif defined(LIBBUTL_SHARED) // Using shared. # ifdef _WIN32 -# define LIBBUTL_EXPORT __declspec(dllimport) +# define LIBBUTL_SYMEXPORT __declspec(dllimport) # else -# define LIBBUTL_EXPORT +# define LIBBUTL_SYMEXPORT # endif #elif defined(LIBBUTL_SHARED_BUILD) // Building shared. # ifdef _WIN32 -# define LIBBUTL_EXPORT __declspec(dllexport) +# define LIBBUTL_SYMEXPORT __declspec(dllexport) # else -# define LIBBUTL_EXPORT +# define LIBBUTL_SYMEXPORT # endif #else // If none of the above macros are defined, then we assume we are being used @@ -35,7 +35,7 @@ // type. Note that this fallback works for both static and shared but in case // of shared will be sub-optimal compared to having dllimport. // -# define LIBBUTL_EXPORT // Using static or shared. +# define LIBBUTL_SYMEXPORT // Using static or shared. #endif #endif // LIBBUTL_EXPORT_HXX |