fix mingw build

that code path is common to all win32 platforms: msvc & mingw/cygwin
This commit is contained in:
xantares 2015-08-03 23:27:41 +02:00
parent 6a6cbf4005
commit c1b56c3f3a

View File

@ -617,7 +617,7 @@ ocset_curlproperties(OCstate* state)
int stat;
pid_t pid = getpid();
snprintf(tmp,sizeof(tmp)-1,"%s/%s.%ld/",ocglobalstate.tempdir,OCDIR,(long)pid);
#ifdef _MSC_VER
#ifdef _WIN32
stat = mkdir(tmp);
#else
stat = mkdir(tmp,S_IRUSR | S_IWUSR | S_IXUSR);