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
This commit is contained in:
Saleem Abdulrasool 2017-01-04 05:50:01 +00:00
parent 07b65ed040
commit 6039656441
1 changed files with 3 additions and 1 deletions

View File

@ -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>