[pypy-svn] r44338 - pypy/dist/pypy/rpython/lltypesystem

afa at codespeak.net afa at codespeak.net
Mon Jun 18 13:42:07 CEST 2007


Author: afa
Date: Mon Jun 18 13:42:07 2007
New Revision: 44338

Modified:
   pypy/dist/pypy/rpython/lltypesystem/rfficache.py
Log:
Quick hack for win32, where mode_t is not defined.
All the tests were failing...


Modified: pypy/dist/pypy/rpython/lltypesystem/rfficache.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rfficache.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/rfficache.py	Mon Jun 18 13:42:07 2007
@@ -16,6 +16,9 @@
     c_source = py.code.Source('''
     // includes
     %s
+    #ifdef _WIN32
+    typedef int mode_t;
+    #endif
 
     // checking code
     int main(void)



More information about the Pypy-commit mailing list