From: Andrew Innes Date: Wed, 16 Jun 1999 20:02:55 +0000 (+0000) Subject: (strerror): Override the default implementation of X-Git-Tag: emacs-20.4~91 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a14724c88050eba1e9e3709028bc8acc6e9252be;p=emacs.git (strerror): Override the default implementation of strerror, so we can map winsock error codes. --- 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