diff options
| author | David Pursell <dpursell@google.com> | 2015-09-11 16:06:59 -0700 |
|---|---|---|
| committer | David Pursell <dpursell@google.com> | 2015-09-11 18:28:27 -0700 |
| commit | b404dec85ab07043c0a1933671aa76a159d797ac (patch) | |
| tree | ac26e9509c52ce44a64f757ce5f34caac3de2b16 /base/errors_unix.cpp | |
| parent | 9336ee389f79296d04790d1a1dab6f55b6a4c221 (diff) | |
adb: fix shell_service_protocol_test for Windows.
Adds missing #ifdef guards to shell_service_protocol_test.cpp so the
test compiles on Windows.
Also fixes a bug in Windows socketpair write implementation. Previously
it was only checking for a closed pipe if the write happened to block.
This adds an additional pre-check to exit immediately on a closed pipe.
These two changes allow the test to compile and pass on Windows.
Change-Id: Ib8853ed72f015fc0d623da47c32982cb3ffa4a3d
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
