From fd72f7f1ab0e93a4dd885323d0416938c6a4914e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Nov 2016 14:44:46 +0200 Subject: Add missing export macro --- butl/diagnostics | 5 +++-- butl/utility | 4 +++- 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 // move(), forward() #include // uncaught_exception() +#include #include 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 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 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 // uncaught_exception() //#include // hash +#include + 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 struct exception_guard; -- cgit v1.1