desktop/source/lib/init.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+)
New commits: commit 3b569f60259e81019b837c23b0327d997c26bc0c Author: Henry Castro <hcas...@collabora.com> Date: Mon Aug 17 22:17:13 2015 -0400 LOK: add lok_preinit symbol Change-Id: I9f23a6077046809083e254d4c79590b67b071fb3 diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 48727d3..a33922f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1101,6 +1101,17 @@ LibreOfficeKit *libreofficekit_hook(const char* install_path) return libreofficekit_hook_2(install_path, NULL); } +#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE) && defined(DISABLE_DYNLOADING) +__attribute__ ((visibility("default"))) +#else +SAL_DLLPUBLIC_EXPORT +#endif +int lok_preinit() +{ + SAL_INFO("lok", "Hello World"); + return 0; +} + static void lo_destroy(LibreOfficeKit* pThis) { LibLibreOffice_Impl* pLib = static_cast<LibLibreOffice_Impl*>(pThis); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits