From 1fbd97cfd5d9f85f7607b1563adf36ec2c8652a1 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 4 Jan 2017 05:50:01 +0000 Subject: [PATCH] fix elast configuration on Windows targets A typo and missing header inclusion was obscured by the litany of user defined literal warnings. This fixes the detection of ELAST on windows. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290941 91177308-0d34-0410-b5e6-96231b3b80d8 --- src/include/config_elast.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/config_elast.h b/src/include/config_elast.h index 304685e67..dd736d1a5 100644 --- a/src/include/config_elast.h +++ b/src/include/config_elast.h @@ -10,7 +10,9 @@ #ifndef _LIBCPP_CONFIG_ELAST #define _LIBCPP_CONFIG_ELAST -#if defined(_LIBCPP_MSCVRT) +#include <__config> + +#if defined(_LIBCPP_MSVCRT) #include #else #include