mirror of https://github.com/mpv-player/mpv
mingw compile fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13348 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
299671ded1
commit
e77c880367
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue