[pypy-svn] r45300 - pypy/dist/pypy/rpython/lltypesystem
fijal at codespeak.net
fijal at codespeak.net
Tue Jul 24 13:54:19 CEST 2007
Author: fijal
Date: Tue Jul 24 13:54:17 2007
New Revision: 45300
Modified:
pypy/dist/pypy/rpython/lltypesystem/rfficache.py
Log:
Be a bit more relaxed regarding types
Modified: pypy/dist/pypy/rpython/lltypesystem/rfficache.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rfficache.py (original)
+++ pypy/dist/pypy/rpython/lltypesystem/rfficache.py Tue Jul 24 13:54:17 2007
@@ -11,6 +11,8 @@
from pypy.rpython.lltypesystem import lltype
def ask_gcc(question, includes={}, add_source="", compiler_exe=None):
+ if isinstance(includes, list):
+ includes = dict.fromkeys(includes)
from py.compat.subprocess import PIPE, Popen
includes['stdio.h'] = True
includes['sys' + os.path.sep + 'types.h'] = True
More information about the Pypy-commit
mailing list