Mercurial > hg > xemacs-beta
diff src/sysfile.h @ 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 | 95c4ced5c07c |
children | 19a72041c5ed |
line wrap: on
line diff
--- 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