summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/include/config_elast.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/include/config_elast.h')
-rw-r--r--lib/libcxx/src/include/config_elast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxx/src/include/config_elast.h b/lib/libcxx/src/include/config_elast.h
index 4c4d853c2a6..c3cc19c2234 100644
--- a/lib/libcxx/src/include/config_elast.h
+++ b/lib/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: