[PATCH] D48731: Configure ELAST for MinGW

Pirama Arumuga Nainar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 13:21:38 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX335916: Configure ELAST for MinGW (authored by pirama, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48731?vs=153352&id=153381#toc

Repository:
  rCXX libc++

https://reviews.llvm.org/D48731

Files:
  src/include/config_elast.h


Index: src/include/config_elast.h
===================================================================
--- src/include/config_elast.h
+++ src/include/config_elast.h
@@ -12,7 +12,7 @@
 
 #include <__config>
 
-#if defined(_LIBCPP_MSVCRT)
+#if defined(_LIBCPP_MSVCRT_LIKE)
 #include <stdlib.h>
 #else
 #include <errno.h>
@@ -30,7 +30,7 @@
 // No _LIBCPP_ELAST needed on Apple
 #elif defined(__sun__)
 #define _LIBCPP_ELAST ESTALE
-#elif defined(_LIBCPP_MSVCRT)
+#elif defined(_LIBCPP_MSVCRT_LIKE)
 #define _LIBCPP_ELAST (_sys_nerr - 1)
 #else
 // Warn here so that the person doing the libcxx port has an easier time:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48731.153381.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180628/2782ca81/attachment.bin>


More information about the cfe-commits mailing list