diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-04-03 15:55:17 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-04-03 15:55:17 +0000 |
commit | 618ffae80369dbf00d505020234d3fe0c4966e85 (patch) | |
tree | 768eb5894d314e84840ef22353c58fe5efde8889 /src/experimental/cachestorefiles.h | |
parent | d6fcf92f4dd68d16720b284d8018443e85c4e1be (diff) | |
download | libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.gz libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.bz2 libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.xz libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.zip |
Process works...sorta...in windows.
Diffstat (limited to '')
-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 | ||