diff options
author | Stef Walter <stef@thewalter.net> | 2004-05-20 01:40:21 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-05-20 01:40:21 +0000 |
commit | 79896ee5a3fea2c3c32ffff0bcc6f0e17c424516 (patch) | |
tree | 72c31ea97f75535680ecf490918d1122c0acb840 /src | |
parent | f2927861c56167c8e8ca633b38ba5e703228e4c3 (diff) |
Win32 fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/scrounge.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |