Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed warning building under mingw, patch contributed by Sylvain
  • Loading branch information
slouken committed Nov 21, 2016
1 parent c7351c2 commit abe9271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDL_log.c
Expand Up @@ -304,7 +304,7 @@ SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list
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 */
static int consoleAttached = 0;

Expand Down

0 comments on commit abe9271

Please sign in to comment.