Skip to content

Commit

Permalink
Add support for QNX Neutrino (#72)
Browse files Browse the repository at this point in the history
* Add support for QNX Neutrino

* Update changelog
  • Loading branch information
flba-eb committed Jun 22, 2023
1 parent ed627af commit 030106d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# [Unreleased]

- Add support for QNX Neutrino
[#72](https://github.com/lambda-fairy/rust-errno/pull/72)

# [0.3.1] - 2023-04-08

- Correct link name on redox
Expand Down
1 change: 1 addition & 0 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ extern "C" {
link_name = "__errno_location"
)]
#[cfg_attr(target_os = "aix", link_name = "_Errno")]
#[cfg_attr(target_os = "nto", link_name = "__get_errno_ptr")]
fn errno_location() -> *mut c_int;

#[cfg_attr(target_os = "linux", link_name = "__xpg_strerror_r")]
Expand Down

0 comments on commit 030106d

Please sign in to comment.