diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-06-20 13:57:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-06-20 14:02:48 +0200 |
commit | 5ba3d1740b03efa394b2d2bf34fb8a8d3db2331d (patch) | |
tree | 2461205effc5d998cc2c92aad4c8945df5f8f7e6 /config_host | |
parent | e79b6715070cdb4512d8ead784103930ebe8b221 (diff) |
Clean up declaration of __cxa_get_globals
At least Clang trunk towards 3.4 now rejects incompatible declarations of the
same extern "C" function in different namespaces, so that trick of getting at
the function that is exported by libstdc++ but only rudimentarily if at all
exposed in cxxabi.h no longer worked.
TODO: This change should be reflected in any other bridges where it is relevant,
too.
Change-Id: Ie3ccbdb7d75cc98636d02c0435958532620724f2
Diffstat (limited to 'config_host')
-rw-r--r-- | config_host/config_gcc.h.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config_host/config_gcc.h.in b/config_host/config_gcc.h.in new file mode 100644 index 000000000000..4376877e2b1d --- /dev/null +++ b/config_host/config_gcc.h.in @@ -0,0 +1,17 @@ +/* -*- 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 CONFIG_GCC_H +#define CONFIG_GCC_H + +#define HAVE_GCC_CXXABI_H_CXA_GET_GLOBALS 0 + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |