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
This commit is contained in:
Saleem Abdulrasool
2017-01-04 05:50:01 +00:00
parent 4508216a70
commit 1fbd97cfd5

View File

@@ -10,7 +10,9 @@
#ifndef _LIBCPP_CONFIG_ELAST #ifndef _LIBCPP_CONFIG_ELAST
#define _LIBCPP_CONFIG_ELAST #define _LIBCPP_CONFIG_ELAST
#if defined(_LIBCPP_MSCVRT) #include <__config>
#if defined(_LIBCPP_MSVCRT)
#include <stdlib.h> #include <stdlib.h>
#else #else
#include <errno.h> #include <errno.h>