| 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_MACOS) | 5 #if defined(FLETCH_TARGET_OS_MACOS) |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 #include <string.h> | 10 #include <string.h> |
| 11 #include <arpa/inet.h> | 11 #include <arpa/inet.h> |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 } else { | 171 } else { |
| 172 // Start a thread for pumping the results. | 172 // Start a thread for pumping the results. |
| 173 context->ref = ref; | 173 context->ref = ref; |
| 174 context->timeout = timeout; | 174 context->timeout = timeout; |
| 175 context->port = port_id; | 175 context->port = port_id; |
| 176 StartThread(context); | 176 StartThread(context); |
| 177 } | 177 } |
| 178 } | 178 } |
| 179 | 179 |
| 180 #endif | 180 #endif |
| OLD | NEW |