Skip to content

Commit

Permalink
fix building on Mac
Browse files Browse the repository at this point in the history
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 3323694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/qt-unix-signals/sigwatch.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 3323694

Please sign in to comment.