Skip to content

Commit

Permalink
Merge pull request #3818 from tgross35/main-qnx-libregex
Browse files Browse the repository at this point in the history
[main] Disable libregex for QNX 7.0 #3775
  • Loading branch information
tgross35 authored Aug 13, 2024
2 parents 728215e + 78b639c commit 0f4fa73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/nto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2864,9 +2864,9 @@ safe_f! {

// Network related functions are provided by libsocket and regex
// functions are provided by libregex.
// In QNX <=7.0, libregex functions were included in libc itself.
#[link(name = "socket")]
#[link(name = "regex")]

#[cfg_attr(not(target_env = "nto70"), link(name = "regex"))]
extern "C" {
pub fn sem_destroy(sem: *mut sem_t) -> ::c_int;
pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int;
Expand Down

0 comments on commit 0f4fa73

Please sign in to comment.