mirror of
https://repo.or.cz/socat.git
synced 2025-07-09 13:46:33 +00:00
Made code async-signal-safe
This commit is contained in:
parent
e4c6f3d934
commit
2af0495cc6
25 changed files with 1707 additions and 625 deletions
4
compat.h
4
compat.h
|
@ -31,6 +31,10 @@
|
|||
|
||||
/* substitute some features that might be missing on some platforms */
|
||||
|
||||
#if !HAVE_TYPE_SIG_ATOMIC_T
|
||||
typedef int sig_atomic_t;
|
||||
#endif
|
||||
|
||||
#ifndef SHUT_RD
|
||||
# define SHUT_RD 0
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue