From e77c8803679c86007e0ff53276cd9716dfaacce0 Mon Sep 17 00:00:00 2001 From: faust3 Date: Wed, 15 Sep 2004 15:17:06 +0000 Subject: [PATCH] mingw compile fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13348 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_jpeg.c | 4 ++++ 1 file changed, 4 insertions(+) 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: