From 9c4f22d85b2ef93645e23995c8c43360d48b5f19 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Tue, 31 Jul 2012 21:30:05 +0200 Subject: [PATCH] Attempt at fixing linker errors... --- indra/cwdebug/debug.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/cwdebug/debug.h b/indra/cwdebug/debug.h index ce35a0e34..9501cd60c 100644 --- a/indra/cwdebug/debug.h +++ b/indra/cwdebug/debug.h @@ -74,8 +74,6 @@ struct buf2str { } // namespace libcwd -extern CWD_API std::ostream& operator<<(std::ostream& os, libcwd::buf2str const& b2s); - inline void init() { } struct libcwd_do_type { void on() const { } @@ -84,12 +82,14 @@ extern CWD_API libcwd_do_type const libcw_do; struct Indent { int M_indent; static AI_THREADLOCAL int S_indentation; - enum print_nt { print }; + enum CWD_API print_nt { print }; CWD_API Indent(int indent) : M_indent(indent) { S_indentation += M_indent; } CWD_API ~Indent() { S_indentation -= M_indent; } - friend CWD_API std::ostream& operator<<(std::ostream& os, print_nt); }; +extern CWD_API std::ostream& operator<<(std::ostream& os, libcwd::buf2str const& b2s); +extern CWD_API std::ostream& operator<<(std::ostream& os, Indent::print_nt); + namespace dc { struct fake_channel {