|
From: Yaroslav K. <kav...@je...> - 2005-06-06 10:09:04
|
Richard Putman wrote: > apologies for the private post - I did try replying on the clisp devel > list but I must have unsubscribed at some point so my message is > waiting moderator approval. I don't want to repost as I hate it when > people post duplicates. > > Anyway, I think the following patch will fix your problem: > > Index: src/win32.d > =============================================================== > RCS file: /cvsroot/clisp/clisp/src/win32.d,v > retrieving revision 1.56 > diff -u -u -r1.56 win32.d > --- src/win32.d 2 Jun 2005 14:49:40 -0000 1.56 > +++ src/win32.d 4 Jun 2005 10:37:04 -0000 > @@ -63,7 +63,13 @@ > /* used by error.d, spvw.d, stream.d, pathname.d, socket.d */ > > /* Table of ANSI C error messages */ > -#include <errno.h> > +#ifdef __MINGW32__ > + #undef _UWIN > + #include <errno.h> > + #define _UWIN > +#else > + #include <errno.h> > +#endif > /* used by error.d, stream.d */ > > /* Getting memory. */ It is work! -- WBR, Yaroslav Kavenchuk. |