From c1d2ae38f8dd16c1c931c5626f12ce9bef8e07c8 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 4 May 2009 21:40:14 +0000 Subject: david - got bzip2 building for windows... also added default O_BINARY on Bu::File --- src/file.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/file.cpp b/src/file.cpp index aa0ea32..4776217 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -227,6 +227,8 @@ int Bu::File::getPosixFlags( int iFlags ) if( (iFlags&Exclusive) == Exclusive ) iRet |= O_EXCL; + iRet |= O_BINARY; + return iRet; } -- cgit v1.2.3