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 <fcntl.h> | 7 #include <fcntl.h> |
8 #include <mach-o/dyld.h> | 8 #include <mach-o/dyld.h> |
9 #include <signal.h> | 9 #include <signal.h> |
10 #include <stdlib.h> | 10 #include <stdlib.h> |
11 #include <sys/errno.h> | 11 #include <sys/errno.h> |
(...skipping 95 matching lines...) Loading... |
107 raise(-exit_code); | 107 raise(-exit_code); |
108 } else { | 108 } else { |
109 exit(exit_code); | 109 exit(exit_code); |
110 } | 110 } |
111 UNREACHABLE(); | 111 UNREACHABLE(); |
112 } | 112 } |
113 | 113 |
114 } // namespace fletch | 114 } // namespace fletch |
115 | 115 |
116 #endif // defined(FLETCH_TARGET_OS_MACOS) | 116 #endif // defined(FLETCH_TARGET_OS_MACOS) |
OLD | NEW |