diff --git a/lib/tty/tty-internal.c b/lib/tty/tty-internal.c
index c3bc5a9b3..600576de8 100644
a
|
b
|
int sigwinch_pipe[2]; |
45 | 45 | |
46 | 46 | /*** file scope macro definitions ****************************************************************/ |
47 | 47 | |
| 48 | /* some OSes don't provide O_CLOEXEC */ |
| 49 | #if !defined O_CLOEXEC && defined O_NOINHERIT |
| 50 | /* Mingw spells it 'O_NOINHERIT'. */ |
| 51 | #define O_CLOEXEC O_NOINHERIT |
| 52 | #endif |
| 53 | |
| 54 | #ifndef O_CLOEXEC |
| 55 | #define O_CLOEXEC 0 |
| 56 | #endif |
| 57 | |
48 | 58 | /*** global variables ****************************************************************************/ |
49 | 59 | |
50 | 60 | /*** file scope type declarations ****************************************************************/ |