signalh.h: Use the right config for SIGPIPE

This commit is contained in:
YAMAMOTO Takashi 2020-10-26 11:25:21 +09:00 committed by Xiang Xiao
parent d8bee6769a
commit ad5c168b30

View File

@ -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 */