[pypy-dev] small patch for translator/c/src/ll_osdefs.h for win32
Lawrence Oluyede
l.oluyede at gmail.com
Tue Jul 25 06:45:17 CEST 2006
On 7/24/06, Scott Dial <scott+pypy-dev at scottdial.com> wrote:
> I attempted to translate a pypy-c in windows today. I had to mask out
> including sys/mman.h. Afterwards, I was able to succesfully translate.
>
> Index: ll_osdefs.h
> ===================================================================
> --- ll_osdefs.h (revision 30390)
> +++ ll_osdefs.h (working copy)
> @@ -42,7 +42,9 @@
>
> #include <sys/types.h>
>
> +#if !defined(MS_WINDOWS)
> #include <sys/mman.h>
> +#endif
>
> #ifdef HAVE_STROPTS_H
> #include <stropts.h>
That was my fault. It has been fixed. Thanks
--
Lawrence
http://www.oluyede.org/blog
More information about the pypy-dev
mailing list