This commit is contained in:
Russ Rew 2015-08-09 10:01:05 -06:00
commit 591bab5dd6
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ install-data-hook:
#endif
if BUILD_DLL
cp liblib/netcdfdll.def $(DESTDIR)${prefix}/lib
cp liblib/netcdfdll.def $(DESTDIR)${prefix}/bin
endif # BUILD_DLL
@echo ''
@echo '+-------------------------------------------------------------+'

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);