OLD | NEW |
1 // Copyright (c) 2015, the Dartino 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_LINUX) | 5 #if defined(DARTINO_TARGET_OS_LINUX) |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.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 | 11 |
12 #include "include/dart_api.h" | 12 #include "include/dart_api.h" |
13 #include "include/dart_native_api.h" | 13 #include "include/dart_native_api.h" |
14 | 14 |
15 #include "mdns_extension.h" | 15 #include "mdns_extension.h" |
16 | 16 |
17 // Dummy implementation for Linux. | 17 // Dummy implementation for Linux. |
18 void HandleLookup(Dart_Port port_id, int type, char* fullname, int timeout) {} | 18 void HandleLookup(Dart_Port port_id, int type, char* fullname, int timeout) {} |
19 | 19 |
20 #endif | 20 #endif |
OLD | NEW |