MSVC fix.

This commit is contained in:
ehofman 2005-11-10 09:57:58 +00:00
parent d674e50591
commit 450ad45882

View File

@ -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();