From 79896ee5a3fea2c3c32ffff0bcc6f0e17c424516 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 20 May 2004 01:40:21 +0000 Subject: Win32 fixes --- src/scrounge.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/scrounge.c b/src/scrounge.c index eb1ac10..7dd7134 100644 --- a/src/scrounge.c +++ b/src/scrounge.c @@ -215,7 +215,11 @@ void processMFTRecord(partitioninfo* pi, uint64 sector, uint32 flags) if(!g_verifyMode) #endif { - if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1) +#ifdef _WIN32 + if(fc_mkdir(basics.filename) == -1) +#else + if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1) +#endif { warn("couldn't create directory '" FC_PRINTF "' putting files in parent directory", basics.filename); } -- cgit v1.2.3