| Index: mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| diff --git a/mojo/edk/test/multiprocess_test_helper_unittest.cc b/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| index 4fe170c360979e5d35f1c3fc9c0f3ad2bef51d14..2780a69d731e8d818135e9555ea7ec934eba0468 100644
|
| --- a/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| +++ b/mojo/edk/test/multiprocess_test_helper_unittest.cc
|
| @@ -4,28 +4,20 @@
|
|
|
| #include "mojo/edk/test/multiprocess_test_helper.h"
|
|
|
| +#include <fcntl.h>
|
| +
|
| #include "base/logging.h"
|
| #include "build/build_config.h"
|
| #include "mojo/edk/embedder/scoped_platform_handle.h"
|
| #include "mojo/edk/test/test_utils.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -#if defined(OS_POSIX)
|
| -#include <fcntl.h>
|
| -#endif
|
| -
|
| namespace mojo {
|
| namespace test {
|
| namespace {
|
|
|
| bool IsNonBlocking(const embedder::PlatformHandle& handle) {
|
| -#if defined(OS_WIN)
|
| - // Haven't figured out a way to query whether a HANDLE was created with
|
| - // FILE_FLAG_OVERLAPPED.
|
| - return true;
|
| -#else
|
| return fcntl(handle.fd, F_GETFL) & O_NONBLOCK;
|
| -#endif
|
| }
|
|
|
| bool WriteByte(const embedder::PlatformHandle& handle, char c) {
|
|
|