diff options
-rw-r--r-- | libcxx/src/include/config_elast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/include/config_elast.h b/libcxx/src/include/config_elast.h index 97104290d88..8328978ef95 100644 --- a/libcxx/src/include/config_elast.h +++ b/libcxx/src/include/config_elast.h @@ -31,7 +31,7 @@ #elif defined(__sun__) #define _LIBCPP_ELAST ESTALE #elif defined(_LIBCPP_MSVCRT) -#define _LIBCPP_ELAST _sys_nerr +#define _LIBCPP_ELAST (_sys_nerr - 1) #else // Warn here so that the person doing the libcxx port has an easier time: #warning ELAST for this platform not yet implemented |