From a14724c88050eba1e9e3709028bc8acc6e9252be Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Wed, 16 Jun 1999 20:02:55 +0000 Subject: [PATCH] (strerror): Override the default implementation of strerror, so we can map winsock error codes. --- src/s/ms-w32.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index bbbc33d4a0d..c167e4163c4 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h @@ -301,7 +301,7 @@ Boston, MA 02111-1307, USA. */ #ifdef emacs -/* IO calls that are emulated or shadowed */ +/* calls that are emulated or shadowed */ #undef access #define access sys_access #undef chdir @@ -331,6 +331,7 @@ Boston, MA 02111-1307, USA. */ #define rmdir sys_rmdir #define select sys_select #define sleep sys_sleep +#define strerror sys_strerror #undef unlink #define unlink sys_unlink #undef write -- 2.39.2