changeset 13347:0b4f2d91b27c

mingw compile fix
author faust3
date Wed, 15 Sep 2004 15:17:06 +0000
parents 046918174c25
children 2242f7d95b14
files libvo/vo_jpeg.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: