diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-06-28 20:16:45 +0000 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-06-28 20:16:45 +0000 |
commit | c83bbf55d745d5ed40b9efa9b8bc974278189f6d (patch) | |
tree | c6af3cd4bba9d1d874af9fbdc295b68f0d89bb48 | |
parent | 402ab4964ea842855ad786acf4df337ba348b726 (diff) | |
download | bcm5719-llvm-c83bbf55d745d5ed40b9efa9b8bc974278189f6d.tar.gz bcm5719-llvm-c83bbf55d745d5ed40b9efa9b8bc974278189f6d.zip |
Configure ELAST for MinGW
Summary:
Use _LIBCPP_MSVCRT_LIKE while configuring ELAST, so MinGW gets the same
configuration as MSVC.
Reviewers: compnerd, srhines, danalbert, mstorsjo
Subscribers: christof, ldionne, cfe-commits
Differential Revision: https://reviews.llvm.org/D48731
llvm-svn: 335916
-rw-r--r-- | libcxx/src/include/config_elast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/include/config_elast.h b/libcxx/src/include/config_elast.h index 4c4d853c2a6..c3cc19c2234 100644 --- a/libcxx/src/include/config_elast.h +++ b/libcxx/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: |