diff options
-rw-r--r-- | src/file.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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() | |||
139 | 139 | ||
140 | void Bu::File::setBlocking( bool bBlocking ) | 140 | void Bu::File::setBlocking( bool bBlocking ) |
141 | { | 141 | { |
142 | #ifdef WIN32 | ||
143 | fprintf(stderr, "STUB: Bu::File::setBlocking\n"); | ||
144 | #else | ||
142 | if( bBlocking ) | 145 | if( bBlocking ) |
143 | fcntl( | 146 | fcntl( |
144 | fileno( fh ), | 147 | fileno( fh ), |
@@ -149,6 +152,7 @@ void Bu::File::setBlocking( bool bBlocking ) | |||
149 | fileno( fh ), | 152 | fileno( fh ), |
150 | F_SETFL, fcntl( fileno( fh ), F_GETFL, 0 )|O_NONBLOCK | 153 | F_SETFL, fcntl( fileno( fh ), F_GETFL, 0 )|O_NONBLOCK |
151 | ); | 154 | ); |
155 | #endif | ||
152 | } | 156 | } |
153 | 157 | ||
154 | #ifndef WIN32 | 158 | #ifndef WIN32 |