diff options
Diffstat (limited to 'src/experimental/cachestorefiles.h')
-rw-r--r-- | src/experimental/cachestorefiles.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/experimental/cachestorefiles.h b/src/experimental/cachestorefiles.h index 10b2c1b..5f94f4c 100644 --- a/src/experimental/cachestorefiles.h +++ b/src/experimental/cachestorefiles.h | |||
@@ -58,7 +58,11 @@ namespace Bu | |||
58 | { | 58 | { |
59 | if( access( sPrefix.getStr(), W_OK|R_OK|X_OK ) ) | 59 | if( access( sPrefix.getStr(), W_OK|R_OK|X_OK ) ) |
60 | { | 60 | { |
61 | #ifdef WIN32 | ||
62 | mkdir( sPrefix.getStr() ); | ||
63 | #else | ||
61 | mkdir( sPrefix.getStr(), 0755 ); | 64 | mkdir( sPrefix.getStr(), 0755 ); |
65 | #endif | ||
62 | } | 66 | } |
63 | } | 67 | } |
64 | 68 | ||