Skip to content
Permalink
Browse files

fix building on Mac

not sure if this is the right way to fix this 
seen here boostorg/process#55 (comment) and mostly here boostorg/process#55 (comment)
  • Loading branch information
3nids committed Mar 6, 2019
1 parent 17b8405 commit 3323694f41b20f2a64658034ac4f59c4997d213e
Showing with 1 addition and 1 deletion.
  1. +1 −1 external/qt-unix-signals/sigwatch.cpp
@@ -108,7 +108,7 @@ void UnixSignalWatcherPrivate::watchForSignal(int signal)
struct sigaction sigact;
sigact.sa_handler = UnixSignalWatcherPrivate::signalHandler;
sigact.sa_flags = 0;
::sigemptyset(&sigact.sa_mask);
sigemptyset(&sigact.sa_mask);
sigact.sa_flags |= SA_RESTART;
if (::sigaction(signal, &sigact, nullptr)) {
qDebug() << "UnixSignalWatcher: sigaction: " << ::strerror(errno);

0 comments on commit 3323694

Please sign in to comment.
You can’t perform that action at this time.