src/SDL_log.c
changeset 10637 5e3ac176d5a8
parent 10412 a644712b2fb2
child 10686 964e600644f4
     1.1 --- a/src/SDL_log.c	Sun Nov 20 21:26:56 2016 -0800
     1.2 +++ b/src/SDL_log.c	Sun Nov 20 21:29:27 2016 -0800
     1.3 @@ -304,7 +304,7 @@
     1.4      SDL_stack_free(message);
     1.5  }
     1.6  
     1.7 -#if defined(__WIN32__)
     1.8 +#if defined(__WIN32__) && !defined(HAVE_STDIO_H) && !defined(__WINRT__)
     1.9  /* Flag tracking the attachment of the console: 0=unattached, 1=attached, -1=error */
    1.10  static int consoleAttached = 0;
    1.11