aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
Diffstat (limited to 'butl')
-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;