[pypy-svn] r75470 - pypy/trunk/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Sat Jun 19 16:13:49 CEST 2010
Author: arigo
Date: Sat Jun 19 16:13:47 2010
New Revision: 75470
Modified:
pypy/trunk/pypy/translator/c/genc.py
Log:
Fix for test_profopt_mac_osx_bug.
Modified: pypy/trunk/pypy/translator/c/genc.py
==============================================================================
--- pypy/trunk/pypy/translator/c/genc.py (original)
+++ pypy/trunk/pypy/translator/c/genc.py Sat Jun 19 16:13:47 2010
@@ -33,7 +33,7 @@
def first(self):
platform = self.compiler.platform
- if platform.name == 'darwin':
+ if platform.name.startswith('darwin'):
# XXX incredible hack for darwin
cfiles = self.compiler.cfiles
STR = '/*--no-profiling-for-this-file!--*/'
More information about the Pypy-commit
mailing list