Fix Windows build after e0a617fcad

This commit is contained in:
Arne Janbu
2016-10-19 22:39:58 +02:00
parent 1debd4d4fb
commit 7342a3b06c
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -50,6 +50,11 @@ sigdisable(int signo)
disable = 1;
}
#else /* ! HAVE_SIGNAL_H || __WIN32__ */
int disable = 0;
int exiting = 0;
#endif /* ! HAVE_SIGNAL_H || __WIN32__ */
+2 -2
View File
@@ -27,8 +27,8 @@ extern volatile sig_atomic_t exiting;
extern volatile sig_atomic_t disable;
#else /* ! HAVE_SIGNAL_H || __WIN32__ */
# define exiting 0
# define disable 0
extern int exiting;
extern int disable;
#endif /* ! HAVE_SIGNAL_H || __WIN32__ */