Mercurial > hg > xemacs-beta
changeset 4863:5ab6dc5d789e
Fix EOVERFLOW breakage under Visual Studio 6
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Thu, 14 Jan 2010 20:34:28 -0500 |
parents | 7ac51121843b |
children | a03421eb562b |
files | src/ChangeLog src/sysfile.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Jan 14 21:39:09 2010 +0100 +++ b/src/ChangeLog Thu Jan 14 20:34:28 2010 -0500 @@ -1,3 +1,9 @@ +2010-01-14 Vin Shelton <acs@xemacs.org> + + * sysfile.h: + Add conditional definition for EOVERFLOW, which isn't defined + under Visual Studio 6. + 2010-01-14 Didier Verna <didier@xemacs.org> * faces.c (complex_vars_of_faces): change X11 bgcolor fallback of
--- a/src/sysfile.h Thu Jan 14 21:39:09 2010 +0100 +++ b/src/sysfile.h Thu Jan 14 20:34:28 2010 -0500 @@ -38,6 +38,11 @@ # include <sys/errno.h> /* <errno.h> does not always imply this */ #endif +/* EOVERFLOW isn't defined on native Windows under VC6 */ +#ifndef EOVERFLOW +# define EOVERFLOW 10139 +#endif + #ifdef HAVE_UNISTD_H # include <unistd.h> #endif