[libcxx] r290941 - fix elast configuration on Windows targets
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 3 21:50:01 PST 2017
Author: compnerd
Date: Tue Jan 3 23:50:01 2017
New Revision: 290941
URL: http://llvm.org/viewvc/llvm-project?rev=290941&view=rev
Log:
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.
Modified:
libcxx/trunk/src/include/config_elast.h
Modified: libcxx/trunk/src/include/config_elast.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/include/config_elast.h?rev=290941&r1=290940&r2=290941&view=diff
==============================================================================
--- libcxx/trunk/src/include/config_elast.h (original)
+++ libcxx/trunk/src/include/config_elast.h Tue Jan 3 23:50:01 2017
@@ -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>
More information about the cfe-commits
mailing list