OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #if defined(FLETCH_TARGET_OS_LK) && defined(FLETCH_ENABLE_LIVE_CODING) | 5 #if defined(FLETCH_TARGET_OS_LK) && defined(FLETCH_ENABLE_LIVE_CODING) |
6 | 6 |
7 #include "src/shared/native_socket.h" | 7 #include "src/shared/native_socket.h" |
8 | 8 |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 // TODO(ajohnsen): Should not be required: | 10 // TODO(ajohnsen): Should not be required: |
11 extern "C" { | 11 extern "C" { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 return -1; | 93 return -1; |
94 } | 94 } |
95 | 95 |
96 void Socket::SetTCPNoDelay(bool value) { | 96 void Socket::SetTCPNoDelay(bool value) { |
97 // Not available. | 97 // Not available. |
98 } | 98 } |
99 | 99 |
100 } // namespace fletch | 100 } // namespace fletch |
101 | 101 |
102 #endif // def'd(FLETCH_TARGET_OS_LK) && def'd(FLETCH_ENABLE_LIVE_CODING) | 102 #endif // def'd(FLETCH_TARGET_OS_LK) && def'd(FLETCH_ENABLE_LIVE_CODING) |
OLD | NEW |