OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_DISABLED) | 5 #if !defined(DART_IO_DISABLED) |
6 | 6 |
7 #include "platform/globals.h" | 7 #include "platform/globals.h" |
8 #if defined(TARGET_OS_FUCHSIA) | 8 #if defined(HOST_OS_FUCHSIA) |
9 | 9 |
10 #include "bin/file_system_watcher.h" | 10 #include "bin/file_system_watcher.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 namespace bin { | 13 namespace bin { |
14 | 14 |
15 Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) { | 15 Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) { |
16 UNIMPLEMENTED(); | 16 UNIMPLEMENTED(); |
17 return DartUtils::NewDartOSError(); | 17 return DartUtils::NewDartOSError(); |
18 } | 18 } |
(...skipping 29 matching lines...) Expand all Loading... |
48 const char* path, | 48 const char* path, |
49 int events, | 49 int events, |
50 bool recursive) { | 50 bool recursive) { |
51 UNIMPLEMENTED(); | 51 UNIMPLEMENTED(); |
52 return -1; | 52 return -1; |
53 } | 53 } |
54 | 54 |
55 } // namespace bin | 55 } // namespace bin |
56 } // namespace dart | 56 } // namespace dart |
57 | 57 |
58 #endif // defined(TARGET_OS_FUCHSIA) | 58 #endif // defined(HOST_OS_FUCHSIA) |
59 | 59 |
60 #endif // !defined(DART_IO_DISABLED) | 60 #endif // !defined(DART_IO_DISABLED) |
OLD | NEW |