Skip to content

Commit

Permalink
Merge pull request #3895 from saethlin/espidf-signal-types
Browse files Browse the repository at this point in the history
Change signal constants to c_int on espidf
  • Loading branch information
tgross35 authored Sep 3, 2024
2 parents 1d8803a + a6f4694 commit 79f96a7
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 79f96a7

Please sign in to comment.