Skip to content

Commit

Permalink
Merge pull request #3900 from tgross35/espid-cherry-pick
Browse files Browse the repository at this point in the history
[0.2] Change signal constants to c_int on espidf
  • Loading branch information
tgross35 committed Sep 6, 2024
2 parents 35060e8 + 70feded commit fdd3a26
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/unix/newlib/espidf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ pub const MSG_EOR: ::c_int = 0x08;

pub const PTHREAD_STACK_MIN: ::size_t = 768;

pub const SIGABRT: ::size_t = 1;
pub const SIGFPE: ::size_t = 1;
pub const SIGILL: ::size_t = 1;
pub const SIGINT: ::size_t = 1;
pub const SIGSEGV: ::size_t = 1;
pub const SIGTERM: ::size_t = 1;
pub const SIGHUP: ::size_t = 1;
pub const SIGQUIT: ::size_t = 1;
pub const SIGABRT: ::c_int = 1;
pub const SIGFPE: ::c_int = 1;
pub const SIGILL: ::c_int = 1;
pub const SIGINT: ::c_int = 1;
pub const SIGSEGV: ::c_int = 1;
pub const SIGTERM: ::c_int = 1;
pub const SIGHUP: ::c_int = 1;
pub const SIGQUIT: ::c_int = 1;
pub const NSIG: ::size_t = 2;

extern "C" {
Expand Down

0 comments on commit fdd3a26

Please sign in to comment.