# HG changeset patch # User faust3 # Date 1095261426 0 # Node ID 0b4f2d91b27c17c53f66a762d91ea74b8ad3b0f8 # Parent 046918174c25488f373911b54a6bed79c444b302 mingw compile fix diff -r 046918174c25 -r 0b4f2d91b27c libvo/vo_jpeg.c --- a/libvo/vo_jpeg.c Wed Sep 15 14:19:41 2004 +0000 +++ b/libvo/vo_jpeg.c Wed Sep 15 15:17:06 2004 +0000 @@ -97,7 +97,11 @@ 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: