Don't read socket timestamps when building native client.
BUG=webrtc:5773 R=pthatcher@webrtc.org Review URL: https://codereview.webrtc.org/2008573002 . Cr-Commit-Position: refs/heads/master@{#12851}
This commit is contained in:
parent
9131efdb30
commit
3ebb3efd13
@ -59,7 +59,8 @@ typedef void* SockOptArg;
|
||||
|
||||
#endif // WEBRTC_POSIX
|
||||
|
||||
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC)
|
||||
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
|
||||
|
||||
int64_t GetSocketRecvTimestamp(int socket) {
|
||||
struct timeval tv_ioctl;
|
||||
int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user