summaryrefslogtreecommitdiffstats
path: root/utils/jz4740_tools/IHFSsplit.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-03 12:42:14 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-03 12:42:14 +0000
commitaefbd6301a11367727b7dc265f5aaccbbaac2a3f (patch)
treec624a59673ae5b5143aa95e2775aa64eeebd9181 /utils/jz4740_tools/IHFSsplit.c
parent3637513e30c70f47425b2d79753639dff6a794c8 (diff)
downloadrockbox-aefbd6301a11367727b7dc265f5aaccbbaac2a3f.tar.gz
rockbox-aefbd6301a11367727b7dc265f5aaccbbaac2a3f.tar.bz2
rockbox-aefbd6301a11367727b7dc265f5aaccbbaac2a3f.zip
* Clean up Jz4740 USB tool a bit
* Make IHFSsplit compile under Windows * Change SDRAM base address + remove hack for Onda VX747 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18395 a1c6a512-1295-4272-9138-f99709370657
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