summaryrefslogtreecommitdiffstats
path: root/libcxx/src/include
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-04 05:50:01 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-04 05:50:01 +0000
commit6039656441b5bac28a91c66ae59039f6a2e1f521 (patch)
treee5bcec539abedf7b245a5391874800c0a904460c /libcxx/src/include
parent07b65ed0403d67cb465ea2c82ef1664f36f78ce9 (diff)
downloadbcm5719-llvm-6039656441b5bac28a91c66ae59039f6a2e1f521.tar.gz
bcm5719-llvm-6039656441b5bac28a91c66ae59039f6a2e1f521.zip
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. llvm-svn: 290941
Diffstat (limited to 'libcxx/src/include')
-rw-r--r--libcxx/src/include/config_elast.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/src/include/config_elast.h b/libcxx/src/include/config_elast.h
index 304685e6757..dd736d1a5e3 100644
--- a/libcxx/src/include/config_elast.h
+++ b/libcxx/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 <stdlib.h>
#else
#include <errno.h>
OpenPOWER on IntegriCloud