diff options
Diffstat (limited to 'butl/diagnostics')
-rw-r--r-- | butl/diagnostics | 5 |
1 files changed, 3 insertions, 2 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& |