Unverified Commit 703f1112 authored by GregTho's avatar GregTho Committed by GitHub

Use ::_close rather than ::close in Win32 stubs.

The former is the proper converse of _open, which is used in
::google::protobuf::internal::win32::open. This resolves issue #5209.
parent 4265a1d3
......@@ -334,7 +334,7 @@ FILE* fopen(const char* path, const char* mode) {
#endif
}
int close(int fd) { return ::close(fd); }
int close(int fd) { return ::_close(fd); }
int dup(int fd) { return ::_dup(fd); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment