mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
fix mingw build
that code path is common to all win32 platforms: msvc & mingw/cygwin
This commit is contained in:
parent
6a6cbf4005
commit
c1b56c3f3a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user