Merge pull request #295 from arnej/windowsfix
Fix Windows build after e0a617fcad
This commit is contained in:
@@ -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
@@ -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__ */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user