aboutsummaryrefslogtreecommitdiff
path: root/libbutl/export.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-23 14:31:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-23 14:31:26 +0200
commite652a49cbac1098dd97695309336545ef4e9ae89 (patch)
tree1af0a5270d06e05e788c1342e1cc35723106b7ec /libbutl/export.hxx
parentc36042925c8d52e3899ea310018cb7243d191306 (diff)
Rename LIBBUTL_EXPORT to LIBBUTL_SYMEXPORT in preparation for modularization
Diffstat (limited to 'libbutl/export.hxx')
-rw-r--r--libbutl/export.hxx14
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