mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:59:10 +08:00
e16a8ac6dc
* fix protobuf-3.18 mingw build * fix protobuf-3.18 mingw build
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);
|