summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 15:17:06 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 15:17:06 +0000
commite77c8803679c86007e0ff53276cd9716dfaacce0 (patch)
treebdca1490d9747aa9c67a6dc3bda410a47b9db2de /libvo
parent299671ded10d7a9dd799dca39ac044d19a87074e (diff)
downloadmpv-e77c8803679c86007e0ff53276cd9716dfaacce0.tar.bz2
mpv-e77c8803679c86007e0ff53276cd9716dfaacce0.tar.xz
mingw compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13348 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_jpeg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/vo_jpeg.c b/libvo/vo_jpeg.c
index 65e1becaac..419ef56742 100644
--- a/libvo/vo_jpeg.c
+++ b/libvo/vo_jpeg.c
@@ -97,7 +97,11 @@ static int framenum = 0;
void jpeg_mkdir(char *buf, int verbose) {
struct stat stat_p;
+#ifndef __MINGW32__
if ( mkdir(buf, 0755) < 0 ) {
+#else
+ if ( mkdir(buf) < 0 ) {
+#endif
switch (errno) { /* use switch in case other errors need to be caught
and handled in the future */
case EEXIST: