From e652a49cbac1098dd97695309336545ef4e9ae89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 23 Jun 2017 14:31:26 +0200 Subject: Rename LIBBUTL_EXPORT to LIBBUTL_SYMEXPORT in preparation for modularization --- libbutl/export.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libbutl/export.hxx') 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 -- cgit v1.1