From a14b783bbe8eda32b4b79530d85ffc48b6ed0305 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 9 Nov 2021 10:35:00 +0100 Subject: Drop global -D_HAS_AUTO_PTR_ETC from Windows build ...which had been added with 61c88ae6945c241f5f2aeb844eeca0776b487132 "gbuild: always compile as C++17 with MSVC 2017" but appears to be unnecessary now that becbabbb785545af6a1799f5ecd445785534d478 "external/clucene: Remove unnecessary uses of obsolete std::binary_function" removed code that relied on it. (There are still a few targeted defines of _HAS_AUTO_PTR_ETC sprinkled across the code where necessary.) Change-Id: Id57d24a0e01272864df36cd2ed1cb31c59c30d7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124903 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- solenv/gbuild/platform/com_MSC_defs.mk | 1 - 1 file changed, 1 deletion(-) (limited to 'solenv/gbuild') diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index e1912285c4b7..39c284a6a16b 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -46,7 +46,6 @@ gb_COMPILERDEFS := \ -DBOOST_ERROR_CODE_HEADER_ONLY \ -DBOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE \ -DBOOST_SYSTEM_NO_DEPRECATED \ - -D_HAS_AUTO_PTR_ETC \ -D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING \ -D_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING \ -D_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING \ -- cgit