From: ehofman Date: Thu, 10 Nov 2005 09:57:58 +0000 (+0000) Subject: MSVC fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=450ad45882f2f1e9009cab38be544b2b432aef17;p=simgear.git MSVC fix. --- diff --git a/simgear/debug/logstream.hxx b/simgear/debug/logstream.hxx index 4546a5e1..7fee8140 100644 --- a/simgear/debug/logstream.hxx +++ b/simgear/debug/logstream.hxx @@ -185,7 +185,7 @@ inline logbuf::int_type logbuf::overflow( int c ) { #ifdef _MSC_VER - static has_console = false; + static bool has_console = false; if ( logging_enabled ) { if ( !has_console ) { AllocConsole();