summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 08:47:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 12:00:29 +0200
commitcbc34f69ec6363cd234ad2b1dfe09bfb531238db (patch)
treeda6dd9dd4ca1d84a4cf929ab9f459c960ea73f4f /unotools
parent1c12e5fe5a458f4a4d4dd8080c2ade2f20ef17dc (diff)
Rename #define HAVE_LIBCXX -> HAVE_LIBCPP
...to harmonize it with the HAVE_LIBCPP configuration variable recently introduced in 6014f363a08f2edd6086cf30b3bbb913f1c621c6 "improve support for using libc++ on Linux and for libc++ debug mode" Change-Id: I6b3fee2e4e564d75caf1e60095d0b554153bce9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133745 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/resmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
index fb6d32a45d6b..faa35ffe5c9e 100644
--- a/unotools/source/i18n/resmgr.cxx
+++ b/unotools/source/i18n/resmgr.cxx
@@ -23,7 +23,7 @@
// workdir/UnpackedTarball/boost/boost/locale/format.hpp using "std::auto_ptr<data> d;", but must
// come very early here in case <memory> is already (indirectly) included earlier:
#include <config_libcxx.h>
-#if HAVE_LIBCXX
+#if HAVE_LIBPP
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
#elif defined _MSC_VER
#define _HAS_AUTO_PTR_ETC 1