diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-04 05:50:01 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-04 05:50:01 +0000 |
commit | 6039656441b5bac28a91c66ae59039f6a2e1f521 (patch) | |
tree | e5bcec539abedf7b245a5391874800c0a904460c /libcxx/src/include | |
parent | 07b65ed0403d67cb465ea2c82ef1664f36f78ce9 (diff) | |
download | bcm5719-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.h | 4 |
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> |