]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - ffplay.c
CONFIG_WIN32 implies MinGW and Cygwin and possibly more, so use just
[frescor/ffmpeg.git] / ffplay.c
index 066dca405e4106642eff7b2a834235ca66c12b62..79e43dd0ae18062005d9f11934b8b4ac9696f74a 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -25,7 +25,7 @@
 #include <SDL.h>
 #include <SDL_thread.h>
 
-#ifdef CONFIG_WIN32
+#ifdef __MINGW32__
 #undef main /* We don't want SDL to override our main() */
 #endif
 
@@ -2423,7 +2423,7 @@ int main(int argc, char **argv)
         video_disable = 1;
     }
     flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER;
-#if !defined(CONFIG_WIN32) && !defined(CONFIG_DARWIN)
+#if !defined(__MINGW32__) && !defined(CONFIG_DARWIN)
     flags |= SDL_INIT_EVENTTHREAD; /* Not supported on win32 or darwin */
 #endif
     if (SDL_Init (flags)) {