diff options
| author | Elliott Hughes <enh@google.com> | 2014-05-20 12:01:29 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2014-05-20 12:13:29 -0700 |
| commit | 0bff5bd95268184a34ae69c062584a8d1f4d87fb (patch) | |
| tree | 4c05e0c1c37884abb31b849bc2a721d389c59d92 /adb | |
| parent | 3816305b58b0eeb098f2f989ef03208d1f29f4da (diff) | |
| download | system_core-0bff5bd95268184a34ae69c062584a8d1f4d87fb.tar.gz system_core-0bff5bd95268184a34ae69c062584a8d1f4d87fb.tar.bz2 system_core-0bff5bd95268184a34ae69c062584a8d1f4d87fb.zip | |
Fix win32 undefined reference to `_socket_network_client_timeout'.
Change-Id: I063213957b8452f4690da0f64872075f7c27b4cd
Diffstat (limited to 'adb')
| -rw-r--r-- | adb/sysdeps_win32.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/adb/sysdeps_win32.c b/adb/sysdeps_win32.c index b0cb0488d..29f58ec08 100644 --- a/adb/sysdeps_win32.c +++ b/adb/sysdeps_win32.c @@ -701,6 +701,13 @@ int socket_network_client(const char *host, int port, int type) } +int socket_network_client_timeout(const char *host, int port, int type, int timeout) +{ + // TODO: implement timeouts for Windows. + return socket_network_client(host, port, type); +} + + int socket_inaddr_any_server(int port, int type) { FH f = _fh_alloc( &_fh_socket_class ); |
