--- a/dav/system.c Thu Jul 19 16:28:37 2018 +0200
+++ b/dav/system.c Thu Jul 19 16:32:27 2018 +0200
@@ -100,11 +100,7 @@
}
int sys_mkdir(const char *path) {
-#ifdef _WIN32
- return mkdir(path);
-#else
return mkdir(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
-#endif
}
#else
--- a/dav/system.h Thu Jul 19 16:28:37 2018 +0200
+++ b/dav/system.h Thu Jul 19 16:32:27 2018 +0200
@@ -54,10 +54,6 @@
WIN32_FIND_DATAW finddata;
SysDirEnt *ent;
};
-typedef struct SysDir {
- DIR *dir;
- SysDirEnt *ent;
-} SysDir;
#define SYS_DIR struct WinDir*
#define SYS_STAT struct __stat64