aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-22 14:44:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-22 14:44:46 +0200
commitfd72f7f1ab0e93a4dd885323d0416938c6a4914e (patch)
tree190d36803e8ddda1e8b94b42b52a1b750c59e1b8
parent0324ad68eed762ebf00ed4fb5a7ea2f2e3bd77b6 (diff)
Add missing export macro
-rw-r--r--butl/diagnostics5
-rw-r--r--butl/utility4
2 files changed, 6 insertions, 3 deletions
diff --git a/butl/diagnostics b/butl/diagnostics
index 77f3f9c..b56ef10 100644
--- a/butl/diagnostics
+++ b/butl/diagnostics
@@ -11,13 +11,14 @@
#include <utility> // move(), forward()
#include <exception> // uncaught_exception()
+#include <butl/export>
#include <butl/utility>
namespace butl
{
// Diagnostic facility base infrastructure.
//
- extern std::ostream* diag_stream; // std::cerr by default.
+ LIBBUTL_EXPORT extern std::ostream* diag_stream; // std::cerr by default.
struct diag_record;
template <typename> struct diag_prologue;
@@ -25,7 +26,7 @@ namespace butl
using diag_epilogue = void (const diag_record&);
- struct diag_record
+ struct LIBBUTL_EXPORT diag_record
{
template <typename T>
friend const diag_record&
diff --git a/butl/utility b/butl/utility
index 6155207..c57aabb 100644
--- a/butl/utility
+++ b/butl/utility
@@ -12,6 +12,8 @@
#include <exception> // uncaught_exception()
//#include <functional> // hash
+#include <butl/export>
+
namespace butl
{
// Convert ASCII character/string case. If there is no upper/lower case
@@ -158,7 +160,7 @@ namespace butl
//
// @@ MT: will have to be TLS.
//
- extern bool exception_unwinding_dtor;
+ LIBBUTL_EXPORT extern bool exception_unwinding_dtor;
template <typename F>
struct exception_guard;