summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-10-25 05:12:34 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-10-25 05:12:34 +0300
commit030130942562bb7b84eeba53e0226abed5a63a4c (patch)
tree9b49208facf2801369c9d2d7b3e7af11fab36829 /mencoder.c
parent562d86d95cbba67cb58358f6fc334553a467dee7 (diff)
parent15a80092161a1cd305f8005c780c744416a5252b (diff)
downloadmpv-030130942562bb7b84eeba53e0226abed5a63a4c.tar.bz2
mpv-030130942562bb7b84eeba53e0226abed5a63a4c.tar.xz
Merge svn changes up to 27824
Conflicts: cfg-common-opts.h libmpcodecs/dec_video.c libmpcodecs/vd.c libvo/x11_common.h mplayer.c stream/cache2.c
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mencoder.c b/mencoder.c
index 4a8575e75d..46370bc85c 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -30,7 +30,7 @@
#define SIGQUIT 3
#define SIGPIPE 13
#endif
-#ifdef WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
#include <windows.h>
#endif
@@ -145,7 +145,7 @@ double cur_video_time_usage=0;
double cur_vout_time_usage=0;
int benchmark=0;
-#ifdef WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
char * proc_priority=NULL;
#endif
@@ -457,9 +457,9 @@ audio_encoder_t *aencoder = NULL;
#endif
#endif
-#if defined(WIN32) && defined(CONFIG_WIN32DLL)
+#if (defined(__MINGW32__) || defined(__CYGWIN__)) && defined(CONFIG_WIN32DLL)
set_path_env();
-#endif /*WIN32 && CONFIG_WIN32DLL*/
+#endif
InitTimer();
@@ -517,7 +517,7 @@ if (frameno_filename) {
}
}
-#ifdef WIN32
+#if defined(__MINGW32__) || defined(__CYGWIN__)
if(proc_priority){
int i;
for(i=0; priority_presets_defs[i].name; i++){