diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-15 15:17:06 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-15 15:17:06 +0000 |
commit | e77c8803679c86007e0ff53276cd9716dfaacce0 (patch) | |
tree | bdca1490d9747aa9c67a6dc3bda410a47b9db2de /libvo/vo_jpeg.c | |
parent | 299671ded10d7a9dd799dca39ac044d19a87074e (diff) | |
download | mpv-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/vo_jpeg.c')
-rw-r--r-- | libvo/vo_jpeg.c | 4 |
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: |