From 467c255511749f018c4572017c9e0e87275524ac Mon Sep 17 00:00:00 2001 From: David Date: Fri, 26 Sep 2008 14:55:11 +0000 Subject: david - got it compiling for windows again: made Bu::File::setBlocking a stub. We are going to need some windows api stuff to do that... --- src/file.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index 83d76c5..b3bae96 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -139,6 +139,9 @@ bool Bu::File::isBlocking() void Bu::File::setBlocking( bool bBlocking ) { +#ifdef WIN32 + fprintf(stderr, "STUB: Bu::File::setBlocking\n"); +#else if( bBlocking ) fcntl( fileno( fh ), @@ -149,6 +152,7 @@ void Bu::File::setBlocking( bool bBlocking ) fileno( fh ), F_SETFL, fcntl( fileno( fh ), F_GETFL, 0 )|O_NONBLOCK ); +#endif } #ifndef WIN32 -- cgit v1.2.3