aboutsummaryrefslogtreecommitdiff
path: root/src/experimental
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-04-03 15:55:17 +0000
committerMike Buland <eichlan@xagasoft.com>2012-04-03 15:55:17 +0000
commit618ffae80369dbf00d505020234d3fe0c4966e85 (patch)
tree768eb5894d314e84840ef22353c58fe5efde8889 /src/experimental
parentd6fcf92f4dd68d16720b284d8018443e85c4e1be (diff)
downloadlibbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.gz
libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.bz2
libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.tar.xz
libbu++-618ffae80369dbf00d505020234d3fe0c4966e85.zip
Process works...sorta...in windows.
Diffstat (limited to 'src/experimental')
-rw-r--r--src/experimental/cachestorefiles.h4
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