f255c3e96e
* GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * 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 <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
41 lines
1,019 B
C++
41 lines
1,019 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef INCLUDED_HELPCOMPILER_SOURCE_LUCENEHELPER_HXX
|
|
#define INCLUDED_HELPCOMPILER_SOURCE_LUCENEHELPER_HXX
|
|
|
|
#if defined _MSC_VER
|
|
#pragma warning(push)
|
|
#pragma warning(disable : 4068 4263 4264 4266)
|
|
#endif
|
|
|
|
#if defined(__GNUC__)
|
|
# pragma GCC visibility push (default)
|
|
#endif
|
|
|
|
#include <CLucene.h>
|
|
#include <CLucene/analysis/LanguageBasedAnalyzer.h>
|
|
|
|
#if defined(__GNUC__)
|
|
# pragma GCC visibility pop
|
|
#endif
|
|
|
|
#if defined _MSC_VER
|
|
#pragma warning(pop)
|
|
#endif
|
|
|
|
#include <rtl/ustring.hxx>
|
|
#include <vector>
|
|
|
|
std::vector<TCHAR> OUStringToTCHARVec(OUString const &rStr);
|
|
OUString TCHARArrayToOUString(TCHAR const *str);
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|