Created
November 28, 2011 21:26
-
-
Save dcolish/1402148 to your computer and use it in GitHub Desktop.
pypy support for xapian-bindings 1.2.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- python/modern/xapian_wrap.cc 2011-11-28 13:23:58.000000000 -0800 | |
| +++ python/modern/xapian_wrap.cc 2011-11-28 13:24:32.000000000 -0800 | |
| @@ -2211,7 +2211,7 @@ | |
| /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ | |
| /* TODO: I don't know how to implement the fast getset in Python 3 right now */ | |
| -#if PY_VERSION_HEX>=0x03000000 | |
| +#if ((PY_VERSION_HEX>=0x03000000) || defined(PYPY_VERSION)) | |
| #define SWIG_PYTHON_SLOW_GETSET_THIS | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment