| author | |
| committer | |
| log | 2fefd4ea8e031e82e5d9228638dc48aa213a102e |
| tree | e3d5afd6f94b6da4704e7e986de334d52956dbc7 |
| parent | 3d528161c80c753a9b00cae84cae245526b29c10 |
1 files changed, 2 insertions(+), 5 deletions(-)
lib/std/c/linux.zig+2-5| ... | ... | @@ -103,11 +103,8 @@ pub const PR = linux.PR; |
| 103 | 103 | |
| 104 | 104 | pub const _errno = switch (native_abi) { |
| 105 | 105 | .android => struct { |
| 106 | extern "c" var __errno: c_int; | |
| 107 | fn getErrno() *c_int { | |
| 108 | return &__errno; | |
| 109 | } | |
| 110 | }.getErrno, | |
| 106 | extern fn __errno() *c_int; | |
| 107 | }.__errno, | |
| 111 | 108 | else => struct { |
| 112 | 109 | extern "c" fn __errno_location() *c_int; |
| 113 | 110 | }.__errno_location, |