[pypy-commit] pypy default: xxx temporary fix.
arigo
noreply at buildbot.pypy.org
Thu Mar 15 00:57:37 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r53623:4037d70e95c7
Date: 2012-03-14 16:57 -0700
http://bitbucket.org/pypy/pypy/changeset/4037d70e95c7/
Log: xxx temporary fix.
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -824,6 +824,8 @@
pypy_decls.append("#ifdef __cplusplus")
pypy_decls.append("extern \"C\" {")
pypy_decls.append("#endif\n")
+ pypy_decls.append('#define Signed long /* xxx temporary fix */\n')
+ pypy_decls.append('#define Unsigned unsigned long /* xxx temporary fix */\n')
for decl in FORWARD_DECLS:
pypy_decls.append("%s;" % (decl,))
@@ -855,6 +857,8 @@
typ = 'PyObject*'
pypy_decls.append('PyAPI_DATA(%s) %s;' % (typ, name))
+ pypy_decls.append('#undef Signed /* xxx temporary fix */\n')
+ pypy_decls.append('#undef Unsigned /* xxx temporary fix */\n')
pypy_decls.append("#ifdef __cplusplus")
pypy_decls.append("}")
pypy_decls.append("#endif")
More information about the pypy-commit
mailing list