| 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_POSIX) | 5 #if defined(FLETCH_TARGET_OS_POSIX) |
| 6 | 6 |
| 7 #ifdef FLETCH_ENABLE_FFI | 7 #ifdef FLETCH_ENABLE_FFI |
| 8 | 8 |
| 9 #include "src/vm/ffi.h" | 9 #include "src/vm/ffi.h" |
| 10 | 10 |
| 11 #include <dlfcn.h> | 11 #include <dlfcn.h> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 END_NATIVE() | 157 END_NATIVE() |
| 158 | 158 |
| 159 BEGIN_NATIVE(ForeignErrno) { return Smi::FromWord(errno); } | 159 BEGIN_NATIVE(ForeignErrno) { return Smi::FromWord(errno); } |
| 160 END_NATIVE() | 160 END_NATIVE() |
| 161 | 161 |
| 162 } // namespace fletch | 162 } // namespace fletch |
| 163 | 163 |
| 164 #endif // FLETCH_ENABLE_FFI | 164 #endif // FLETCH_ENABLE_FFI |
| 165 | 165 |
| 166 #endif // defined(FLETCH_TARGET_OS_POSIX) | 166 #endif // defined(FLETCH_TARGET_OS_POSIX) |
| OLD | NEW |