mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Travis osx support (#155)
* fixed OS X compatibility * adding OS X travis test * ignoring autogenerated files * adding OS X travis test * fixed os x building * fixed os x building * reduced ignore file * v4l osx issue fixed * improved qt5 detection * disabled cleaning of child threads on os x for the time being * fixed avahi on OS X
This commit is contained in:
committed by
redPanther
parent
84c041a6fb
commit
05812f107b
@@ -1,7 +1,12 @@
|
||||
#include <cassert>
|
||||
#include <csignal>
|
||||
#include <unistd.h>
|
||||
#include <sys/prctl.h>
|
||||
|
||||
#ifndef __APPLE__
|
||||
/* prctl is Linux only */
|
||||
#include <sys/prctl.h>
|
||||
#endif
|
||||
|
||||
#include <exception>
|
||||
|
||||
#include <QCoreApplication>
|
||||
@@ -123,7 +128,9 @@ int main(int argc, char** argv)
|
||||
if (argParentPid.getValue() > 0 )
|
||||
{
|
||||
Info(log, "hyperiond client, parent is pid %d",argParentPid.getValue());
|
||||
#ifndef __APPLE__
|
||||
prctl(PR_SET_PDEATHSIG, SIGHUP);
|
||||
#endif
|
||||
}
|
||||
|
||||
int argvId = -1;
|
||||
|
Reference in New Issue
Block a user