From d08ba82b09f62a34c5f0b22a4acdba607df8313e Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 19 Jul 2017 22:02:33 +0000 Subject: [PATCH] [libcxx] [test] Update msvc_stdlib_force_include.hpp. MSVC's STL is replacing _HAS_FUNCTION_ASSIGN with _HAS_FUNCTION_ALLOCATOR_SUPPORT, and is adding _HAS_UNEXPECTED. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@308535 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/support/msvc_stdlib_force_include.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/support/msvc_stdlib_force_include.hpp b/test/support/msvc_stdlib_force_include.hpp index 954cf513e..cd321cdb9 100644 --- a/test/support/msvc_stdlib_force_include.hpp +++ b/test/support/msvc_stdlib_force_include.hpp @@ -70,9 +70,10 @@ const AssertionDialogAvoider assertion_dialog_avoider{}; #define _ENABLE_ATOMIC_ALIGNMENT_FIX // Enable features that /std:c++latest removes by default. - #define _HAS_AUTO_PTR_ETC 1 - #define _HAS_FUNCTION_ASSIGN 1 - #define _HAS_OLD_IOSTREAMS_MEMBERS 1 + #define _HAS_AUTO_PTR_ETC 1 + #define _HAS_FUNCTION_ALLOCATOR_SUPPORT 1 + #define _HAS_OLD_IOSTREAMS_MEMBERS 1 + #define _HAS_UNEXPECTED 1 // Silence warnings about raw pointers and other unchecked iterators. #define _SCL_SECURE_NO_WARNINGS