summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-10 09:07:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-10 16:10:03 +0100
commit2aa92391daf6bf2ee3c2a332786f592a3d84c771 (patch)
treefde94fa0b8564507bd3a4ca1c45dd649e857c989 /unotools
parentfa4507a7e59cb88f87392b1cb2513d0b62c32d8b (diff)
__cplusplus >= 201703L is always true now for _MSC_VER
...since 50cb96346ad54bcdb172acf11b4befe540e2b152 "Use correct __cplusplus value with MSVC" Change-Id: Ic107a8eff42b6e3961a787d1310cf4df78c26d49 Reviewed-on: https://gerrit.libreoffice.org/66064 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 d2a59c727cf7..654d3c2fae19 100644
--- a/unotools/source/i18n/resmgr.cxx
+++ b/unotools/source/i18n/resmgr.cxx
@@ -23,7 +23,7 @@
#include <config_libcxx.h>
#if HAVE_LIBCXX
#define _LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
-#elif defined _MSC_VER && __cplusplus >= 201703L
+#elif defined _MSC_VER
#define _HAS_AUTO_PTR_ETC 1
#endif