From 693ba5704b0a26319b3b780f8553eb3e99bad7a1 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 18 Sep 2019 11:48:13 +0200 Subject: Replace remaining occurrences of LIBO_HEADLESS with HAVE_FEATURE_UI Change-Id: Ie2b04ee443dece851d3d96afbc932aa64369c75c Reviewed-on: https://gerrit.libreoffice.org/79084 Tested-by: Jenkins Reviewed-by: Andras Timar --- desktop/source/app/sofficemain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source/app/sofficemain.cxx') diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 917361ebf0d3..719446e03a81 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -129,7 +129,7 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() #endif #endif -#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined(LIBO_HEADLESS) && HAVE_FEATURE_OPENGL +#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && HAVE_FEATURE_UI && HAVE_FEATURE_OPENGL /* Run test for OpenGL support in own process to avoid crash with broken * OpenGL drivers. Start process as early as possible. * In non-headless mode, the process will be reaped in X11OpenGLDeviceInfo::GetData -- cgit