OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 #include "webrtc/base/physicalsocketserver.h" | 10 #include "webrtc/base/physicalsocketserver.h" |
11 | 11 |
12 #if defined(_MSC_VER) && _MSC_VER < 1300 | 12 #if defined(_MSC_VER) && _MSC_VER < 1300 |
13 #pragma warning(disable:4786) | 13 #pragma warning(disable:4786) |
14 #endif | 14 #endif |
15 | 15 |
16 #include <assert.h> | |
17 | |
18 #ifdef MEMORY_SANITIZER | 16 #ifdef MEMORY_SANITIZER |
19 #include <sanitizer/msan_interface.h> | 17 #include <sanitizer/msan_interface.h> |
20 #endif | 18 #endif |
21 | 19 |
22 #if defined(WEBRTC_POSIX) | 20 #if defined(WEBRTC_POSIX) |
23 #include <string.h> | 21 #include <string.h> |
24 #include <errno.h> | 22 #include <errno.h> |
25 #include <fcntl.h> | 23 #include <fcntl.h> |
26 #include <sys/ioctl.h> | 24 #include <sys/ioctl.h> |
27 #include <sys/time.h> | 25 #include <sys/time.h> |
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1656 break; | 1654 break; |
1657 } | 1655 } |
1658 } | 1656 } |
1659 | 1657 |
1660 // Done | 1658 // Done |
1661 return true; | 1659 return true; |
1662 } | 1660 } |
1663 #endif // WEBRTC_WIN | 1661 #endif // WEBRTC_WIN |
1664 | 1662 |
1665 } // namespace rtc | 1663 } // namespace rtc |
OLD | NEW |