Skip to content

Commit

Permalink
Change signal constants to c_int on espidf
Browse files Browse the repository at this point in the history
(backport <#3895>)
(cherry picked from commit a6f4694)
  • Loading branch information
saethlin authored and tgross35 committed Sep 6, 2024
1 parent 0b4f2de commit 70feded
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 70feded

Please sign in to comment.