[pypy-dev] small patch for translator/c/src/ll_osdefs.h for win32

Scott Dial scott+pypy-dev at scottdial.com
Mon Jul 24 23:33:09 CEST 2006


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>

-- 
Scott Dial
scott at scottdial.com
scodial at indiana.edu


More information about the pypy-dev mailing list