diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h index 746238d..e63e15b 100644 --- a/src/common.h +++ b/src/common.h @@ -249,12 +249,12 @@ void pipeutils_signal(int write_fd); void pipeutils_handle_signal(int read_fd); -#if !defined(__WIN32__) -extern volatile sig_atomic_t exiting; -extern volatile sig_atomic_t disable; -#else +#ifdef WINDOWS extern int exiting; extern int disable; +#else +extern volatile sig_atomic_t exiting; +extern volatile sig_atomic_t disable; #endif int signals_install_handlers(void); |