summaryrefslogtreecommitdiffstats
path: root/main.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:04:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:04:59 +0000
commit4efb97359112689f1df0690f9b838cea963a9460 (patch)
treec2f4352237b3101986b8085626f0d77f6cfa18c7 /main.cc
parentAdding upstream version 1.24. (diff)
downloadlzip-upstream.tar.xz
lzip-upstream.zip
Adding upstream version 1.24.1.upstream/1.24.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cc b/main.cc
index 1a905a8..ed0678b 100644
--- a/main.cc
+++ b/main.cc
@@ -42,8 +42,10 @@
#if defined __MSVCRT__ || defined __OS2__ || defined __DJGPP__
#include <io.h>
#if defined __MSVCRT__
+#include <direct.h>
#define fchmod(x,y) 0
#define fchown(x,y,z) 0
+#define mkdir(name,mode) _mkdir(name)
#define strtoull std::strtoul
#define SIGHUP SIGTERM
#define S_ISSOCK(x) 0