MSVC fix.
This commit is contained in:
parent
d674e50591
commit
450ad45882
@ -185,7 +185,7 @@ inline logbuf::int_type
|
|||||||
logbuf::overflow( int c )
|
logbuf::overflow( int c )
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
static has_console = false;
|
static bool has_console = false;
|
||||||
if ( logging_enabled ) {
|
if ( logging_enabled ) {
|
||||||
if ( !has_console ) {
|
if ( !has_console ) {
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
|
Loading…
Reference in New Issue
Block a user