diff --git a/config_host/config_libcxx.h.in b/config_host/config_libcxx.h.in index cd90bb821154..d1ae77a53210 100644 --- a/config_host/config_libcxx.h.in +++ b/config_host/config_libcxx.h.in @@ -10,7 +10,7 @@ #ifndef INCLUDED_CONFIG_HOST_CONFIG_LIBCXX_H #define INCLUDED_CONFIG_HOST_CONFIG_LIBCXX_H -#define HAVE_LIBCXX 0 +#define HAVE_LIBCPP 0 #endif diff --git a/configure.ac b/configure.ac index c4e71a8a12ff..776dbe918d94 100644 --- a/configure.ac +++ b/configure.ac @@ -7391,7 +7391,7 @@ foo bar ]])], [CPP_LIBRARY=LIBCPP cpp_library_name="LLVM libc++" - AC_DEFINE([HAVE_LIBCXX]) + AC_DEFINE([HAVE_LIBCPP]) HAVE_LIBCPP=TRUE ], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 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 d;", but must // come very early here in case is already (indirectly) included earlier: #include -#if HAVE_LIBCXX +#if HAVE_LIBPP #define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR #elif defined _MSC_VER #define _HAS_AUTO_PTR_ETC 1