OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #if !defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) |
6 | 6 |
7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
8 #if defined(TARGET_OS_ANDROID) || \ | 8 #if defined(TARGET_OS_ANDROID) || \ |
9 defined(TARGET_OS_LINUX) || \ | 9 defined(TARGET_OS_LINUX) || \ |
10 defined(TARGET_OS_WINDOWS) | 10 defined(TARGET_OS_WINDOWS) |
11 | 11 |
12 #include "bin/secure_socket.h" | 12 #include "bin/secure_socket.h" |
13 #include "bin/secure_socket_boringssl.h" | 13 #include "bin/secure_socket_boringssl.h" |
14 | 14 |
15 #include <errno.h> | 15 #include <errno.h> |
(...skipping 1660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 } | 1676 } |
1677 } | 1677 } |
1678 return bytes_processed; | 1678 return bytes_processed; |
1679 } | 1679 } |
1680 | 1680 |
1681 } // namespace bin | 1681 } // namespace bin |
1682 } // namespace dart | 1682 } // namespace dart |
1683 | 1683 |
1684 #endif // defined(TARGET_OS_LINUX) | 1684 #endif // defined(TARGET_OS_LINUX) |
1685 | 1685 |
1686 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) | 1686 #endif // !defined(DART_IO_DISABLED) && |
| 1687 // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
OLD | NEW |