Skip to content

Commit fdd3a26

Browse files
authored
Merge pull request #3900 from tgross35/espid-cherry-pick
[0.2] Change signal constants to c_int on espidf
2 parents 35060e8 + 70feded commit fdd3a26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/unix/newlib/espidf/mod.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ pub const MSG_EOR: ::c_int = 0x08;
8989

9090
pub const PTHREAD_STACK_MIN: ::size_t = 768;
9191

92-
pub const SIGABRT: ::size_t = 1;
93-
pub const SIGFPE: ::size_t = 1;
94-
pub const SIGILL: ::size_t = 1;
95-
pub const SIGINT: ::size_t = 1;
96-
pub const SIGSEGV: ::size_t = 1;
97-
pub const SIGTERM: ::size_t = 1;
98-
pub const SIGHUP: ::size_t = 1;
99-
pub const SIGQUIT: ::size_t = 1;
92+
pub const SIGABRT: ::c_int = 1;
93+
pub const SIGFPE: ::c_int = 1;
94+
pub const SIGILL: ::c_int = 1;
95+
pub const SIGINT: ::c_int = 1;
96+
pub const SIGSEGV: ::c_int = 1;
97+
pub const SIGTERM: ::c_int = 1;
98+
pub const SIGHUP: ::c_int = 1;
99+
pub const SIGQUIT: ::c_int = 1;
100100
pub const NSIG: ::size_t = 2;
101101

102102
extern "C" {

0 commit comments

Comments
 (0)