From 188bc4852af59e20f60b186e7acaaaa4b8ce51ab Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Sat, 16 Jun 2018 10:01:19 +0200 Subject: Fix gui/main.cpp build with musl --- gui/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/gui/main.cpp 2018-06-16 10:09:13.072771604 +0200 +++ b/gui/main.cpp 2018-06-16 10:10:00.840162507 +0200 @@ -260,7 +260,7 @@ qInstallMessageHandler(cantataQtMsgHandler); } -#if defined Q_OS_LINUX && defined __GNUC__ +#if defined Q_OS_LINUX && defined __GNUC__ && defined __GLIBC__ #include #include #include @@ -340,7 +340,7 @@ int main(int argc, char *argv[]) { - #if defined Q_OS_LINUX && defined __GNUC__ + #if defined Q_OS_LINUX && defined __GNUC__ && defined __GLIBC__ signal(SIGSEGV, sigHandler); #endif QThread::currentThread()->setObjectName("GUI");