From 79ee32aa24e31d5bb786d0c162ad8145cc7c1f35 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 2 Oct 2008 18:31:38 +0000 Subject: david apparently window doesn't have O_NONBLOCK --- src/file.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/file.cpp b/src/file.cpp index 9c8ae90..29d2805 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -200,8 +200,10 @@ int Bu::File::getPosixFlags( int iFlags ) iRet |= O_APPEND; if( (iFlags&Truncate) ) iRet |= O_TRUNC; +#ifndef WIN32 if( (iFlags&NonBlock) ) iRet |= O_NONBLOCK; +#endif if( (iFlags&Exclusive) ) iRet |= O_EXCL; -- cgit v1.2.3