Configure ELAST for MinGW am: e9bb2b4bd6
am: f31a92fffa
Change-Id: I158873e9e092611ab7665bbe422f1c1964470770
This commit is contained in:
committed by
android-build-merger
commit
850149ed6b
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include <__config>
|
#include <__config>
|
||||||
|
|
||||||
#if defined(_LIBCPP_MSVCRT)
|
#if defined(_LIBCPP_MSVCRT_LIKE)
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#else
|
#else
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
// No _LIBCPP_ELAST needed on Apple
|
// No _LIBCPP_ELAST needed on Apple
|
||||||
#elif defined(__sun__)
|
#elif defined(__sun__)
|
||||||
#define _LIBCPP_ELAST ESTALE
|
#define _LIBCPP_ELAST ESTALE
|
||||||
#elif defined(_LIBCPP_MSVCRT)
|
#elif defined(_LIBCPP_MSVCRT_LIKE)
|
||||||
#define _LIBCPP_ELAST (_sys_nerr - 1)
|
#define _LIBCPP_ELAST (_sys_nerr - 1)
|
||||||
#else
|
#else
|
||||||
// Warn here so that the person doing the libcxx port has an easier time:
|
// Warn here so that the person doing the libcxx port has an easier time:
|
||||||
|
|||||||
Reference in New Issue
Block a user