[pypy-svn] r49435 - pypy/dist/pypy/rpython/module

rxe at codespeak.net rxe at codespeak.net
Thu Dec 6 01:31:17 CET 2007


Author: rxe
Date: Thu Dec  6 01:31:17 2007
New Revision: 49435

Modified:
   pypy/dist/pypy/rpython/module/ll_os_stat.py
Log:
fix for os/x

Modified: pypy/dist/pypy/rpython/module/ll_os_stat.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_os_stat.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_os_stat.py	Thu Dec  6 01:31:17 2007
@@ -141,6 +141,9 @@
 if sys.platform.startswith('win'):
     _name_struct_stat = '_stati64'
     INCLUDES = ['sys/types.h', 'sys/stat.h']
+elif sys.platform.startswith('darwin'):
+    _name_struct_stat = 'stat64'
+    INCLUDES = ['sys/stat.h']
 else:
     _name_struct_stat = 'stat'
     INCLUDES = ['sys/types.h', 'sys/stat.h', 'unistd.h']



More information about the Pypy-commit mailing list