mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-12 05:41:10 +01:00
Fixed warning building under mingw, patch contributed by Sylvain
This commit is contained in:
parent
c7351c2dea
commit
abe9271065
@ -304,7 +304,7 @@ SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list
|
|||||||
SDL_stack_free(message);
|
SDL_stack_free(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__) && !defined(HAVE_STDIO_H) && !defined(__WINRT__)
|
||||||
/* Flag tracking the attachment of the console: 0=unattached, 1=attached, -1=error */
|
/* Flag tracking the attachment of the console: 0=unattached, 1=attached, -1=error */
|
||||||
static int consoleAttached = 0;
|
static int consoleAttached = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user