mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
signalh.h: Use the right config for SIGPIPE
This commit is contained in:
committed by
Xiang Xiao
parent
d8bee6769a
commit
ad5c168b30
+2
-2
@@ -179,10 +179,10 @@
|
||||
# define SIGTERM CONFIG_SIG_TERM
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SIG_SIGPIPE
|
||||
#ifndef CONFIG_SIG_PIPE
|
||||
# define SIGPIPE 11
|
||||
#else
|
||||
# define SIGPIPE CONFIG_SIG_SIGPIPE
|
||||
# define SIGPIPE CONFIG_SIG_PIPE
|
||||
#endif
|
||||
|
||||
/* The following are non-standard signal definitions */
|
||||
|
||||
Reference in New Issue
Block a user