glide2x, h3, gdebug.c: fix gdbg_msgfile initializer issue with mingw.

This commit is contained in:
sezero
2018-08-19 16:11:01 +03:00
parent 16f66e6d28
commit 6d7be29632

View File

@@ -94,7 +94,7 @@ extern int __cdecl klvfprintf(FILE *stream,
static FILE *gdbg_msgfile; // GDBG info/error file
#else /* #ifdef KERNEL */
#ifndef __linux__
#if !defined(__linux__) && !defined(__MINGW32__)
static FILE *gdbg_msgfile = stdout; // GDBG info/error file
#else
static FILE *gdbg_msgfile; // GDBG info/error file
@@ -167,6 +167,8 @@ gdbg_init(void)
#ifdef __linux__
gdbg_msgfile = stderr; // GDBG info/error file
#elif defined(__MINGW32__)
gdbg_msgfile = stdout;
#endif
#ifdef KERNEL