From 1b9d44e95162294c2bdfece7d8f3032972ebd34a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 24 Aug 2012 11:01:51 +0100 Subject: [PATCH] do we have a typeinfo visibility problem Change-Id: I024de5b400d0f7a443d4cce7bfe4e88841e6049b --- l10ntools/source/help/LuceneHelper.hxx | 8 ++++++++ xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/l10ntools/source/help/LuceneHelper.hxx b/l10ntools/source/help/LuceneHelper.hxx index c990647..a0248f8 100644 --- a/l10ntools/source/help/LuceneHelper.hxx +++ b/l10ntools/source/help/LuceneHelper.hxx @@ -35,9 +35,17 @@ #pragma warning(disable : 4068 4263 4264 4266) #endif +#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +# pragma GCC visibility push (default) +#endif + #include #include +#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +# pragma GCC visibility pop +#endif + #if defined _MSC_VER #pragma warning(pop) #endif diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx index cd361c8..037bf8d 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx @@ -40,7 +40,13 @@ #pragma warning(disable : 4068 4263 4264 4266) #endif +#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +# pragma GCC visibility push (default) +#endif #include +#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) +# pragma GCC visibility pop +#endif #if defined _MSC_VER #pragma warning(pop) -- 1.7.11.2