| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #include "platform/globals.h" | 5 #include "platform/globals.h" |
| 6 #if defined(TARGET_OS_ANDROID) | 6 #if defined(TARGET_OS_OPENBSD) |
| 7 | 7 |
| 8 #include "vm/native_symbol.h" | 8 #include "vm/native_symbol.h" |
| 9 | 9 |
| 10 #include <dlfcn.h> // NOLINT | 10 #include <dlfcn.h> // NOLINT |
| 11 | 11 |
| 12 namespace dart { | 12 namespace dart { |
| 13 | 13 |
| 14 void NativeSymbolResolver::InitOnce() { | 14 void NativeSymbolResolver::InitOnce() { |
| 15 } | 15 } |
| 16 | 16 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 | 37 |
| 38 void NativeSymbolResolver::FreeSymbolName(char* name) { | 38 void NativeSymbolResolver::FreeSymbolName(char* name) { |
| 39 free(name); | 39 free(name); |
| 40 } | 40 } |
| 41 | 41 |
| 42 | 42 |
| 43 } // namespace dart | 43 } // namespace dart |
| 44 | 44 |
| 45 #endif // defined(TARGET_OS_ANDROID) | 45 #endif // defined(TARGET_OS_OPENBSD) |
| OLD | NEW |