summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/file.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 4776217..b22461a 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -227,7 +227,9 @@ int Bu::File::getPosixFlags( int iFlags )
227 if( (iFlags&Exclusive) == Exclusive ) 227 if( (iFlags&Exclusive) == Exclusive )
228 iRet |= O_EXCL; 228 iRet |= O_EXCL;
229 229
230#ifdef O_BINARY
230 iRet |= O_BINARY; 231 iRet |= O_BINARY;
232#endif
231 233
232 return iRet; 234 return iRet;
233} 235}