mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 22:10:26 +08:00
12 lines
412 B
Diff
12 lines
412 B
Diff
|
--- a/src/google/protobuf/io/zero_copy_stream_impl.cc 2021-09-15 00:48:28.000000000 +0800
|
||
|
+++ b/src/google/protobuf/io/zero_copy_stream_impl.cc 2022-01-06 15:19:12.657413400 +0800
|
||
|
@@ -104,7 +104,7 @@
|
||
|
is_closed_(false),
|
||
|
errno_(0),
|
||
|
previous_seek_failed_(false) {
|
||
|
-#ifndef _MSC_VER
|
||
|
+#ifndef _WIN32
|
||
|
int flags = fcntl(file_, F_GETFL);
|
||
|
flags &= ~O_NONBLOCK;
|
||
|
fcntl(file_, F_SETFL, flags);
|