From f255c3e96e25a43a4724d80287554d892d7ffd70 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 20 Sep 2016 08:11:58 +0200 Subject: [API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always true * GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at . * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann Tested-by: Stephan Bergmann --- xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx index 74fd3c980bc9..a3feb4570162 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx @@ -34,11 +34,11 @@ #pragma warning(disable : 4068 4263 4264 4266) #endif -#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +#if defined(__GNUC__) # pragma GCC visibility push (default) #endif #include -#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +#if defined(__GNUC__) # pragma GCC visibility pop #endif -- cgit