From 4e4b9ec60f3e4277a38b562e784486ffe923526d Mon Sep 17 00:00:00 2001 From: Maxime Graulich <maxime.graulich@gmail.com> Date: Fri, 12 Dec 2014 18:31:11 +0000 Subject: [PATCH] --- Fltk/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fltk/Main.cpp b/Fltk/Main.cpp index c8cba8e3f2..60f35d61b5 100644 --- a/Fltk/Main.cpp +++ b/Fltk/Main.cpp @@ -11,7 +11,7 @@ #include "Options.h" #include "PluginManager.h" #include "GModel.h" -#if defined(__linux__) && !defined(BUILD_ANDROID) +#if defined(HAVE_ONELAB2) && defined(__linux__) && !defined(BUILD_ANDROID) #include <X11/Xlib.h> #endif @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) } // Interactive Gmsh with FLTK GUI -#if defined(__linux__) && !defined(BUILD_ANDROID) +#if defined(HAVE_ONELAB2) && defined(__linux__) && !defined(BUILD_ANDROID) XInitThreads(); #endif return GmshFLTK(argc, argv); -- GitLab