[pypy-svn] r14550 - pypy/dist/pypy/translator/c/src

arigo at codespeak.net arigo at codespeak.net
Tue Jul 12 18:38:22 CEST 2005


Author: arigo
Date: Tue Jul 12 18:38:20 2005
New Revision: 14550

Modified:
   pypy/dist/pypy/translator/c/src/ll_os.h
Log:
Don't need to #include these headers for now, because they come with
<Python.h>.  This allows the file to compile under Windows and other
platforms.  Will have to be re-enabled, by copying CPython's #ifdefs and
possibly 'configure'-based build system.



Modified: pypy/dist/pypy/translator/c/src/ll_os.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/ll_os.h	(original)
+++ pypy/dist/pypy/translator/c/src/ll_os.h	Tue Jul 12 18:38:20 2005
@@ -1,9 +1,9 @@
 /************************************************************/
  /***  C header subsection: os module                      ***/
 
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+/*#include <unistd.h> -- XXX re-enable with lots of #ifdefs */
+/*#include <sys/types.h>*/
+/*#include <sys/stat.h>*/
 #include <fcntl.h>
 #ifndef PATH_MAX
   /* assume windows */



More information about the Pypy-commit mailing list