summaryrefslogtreecommitdiffstats
path: root/main.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:05:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-03 14:05:09 +0000
commit4a7ca0d67ee2e5439ec58d55f6214bcb31ddd2b4 (patch)
tree06c39fba1a4741d869bdeae890a86d4aace4c5b6 /main.cc
parentReleasing debian version 1.24-1. (diff)
downloadlzip-4a7ca0d67ee2e5439ec58d55f6214bcb31ddd2b4.tar.xz
lzip-4a7ca0d67ee2e5439ec58d55f6214bcb31ddd2b4.zip
Merging upstream version 1.24.1.
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