summaryrefslogtreecommitdiffstats
path: root/utils/jz4740_tools/IHFSsplit.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/jz4740_tools/IHFSsplit.c')
-rw-r--r--utils/jz4740_tools/IHFSsplit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/jz4740_tools/IHFSsplit.c b/utils/jz4740_tools/IHFSsplit.c
index 84ba9a790d..ad62d81daf 100644
--- a/utils/jz4740_tools/IHFSsplit.c
+++ b/utils/jz4740_tools/IHFSsplit.c
@@ -105,7 +105,11 @@ void mkdir_p(const char *path)
if (strchr(dir, '/'))
mkdir_p(dir);
+#ifdef _WIN32
+ mkdir(dir);
+#else
mkdir(dir, 0755);
+#endif
}
#define BUF_SIZE 4096