diff options
Diffstat (limited to 'libvo')
-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: |