From d1bf3381c2c05ecd6e7a7546b165b26756029762 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Fri, 9 Feb 2018 14:47:24 +0100 Subject: [PATCH] conditional include of apple stuff --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9eec0ed..f05f60a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,8 +53,9 @@ #undef VTK_USE_FFMPEG #include "MainWindow.h" +#ifdef __APPLE__ #include "fix/osx_thread_fix.h" - +#endif #include <QApplication> #include <QDir> #include <locale.h> @@ -74,7 +75,7 @@ int main(int argc, char *argv[]) { #ifdef __APPLE__ - InitMultiThreading(); + InitMultiThreading(); #endif QApplication a(argc, argv); -- GitLab