[Python-checkins] r87059 - python/branches/py3k/setup.py
antoine.pitrou
python-checkins at python.org
Sat Dec 4 19:36:03 CET 2010
Author: antoine.pitrou
Date: Sat Dec 4 19:36:03 2010
New Revision: 87059
Log:
Silence compile error
Modified:
python/branches/py3k/setup.py
Modified: python/branches/py3k/setup.py
==============================================================================
--- python/branches/py3k/setup.py (original)
+++ python/branches/py3k/setup.py Sat Dec 4 19:36:03 2010
@@ -1579,9 +1579,10 @@
## # Uncomment these lines if you want to play with xxmodule.c
## ext = Extension('xx', ['xxmodule.c'])
## self.extensions.append(ext)
- ext = Extension('xxlimited', ['xxlimited.c'],
- define_macros=[('Py_LIMITED_API', 1)])
- self.extensions.append(ext)
+ if 'd' not in sys.abiflags:
+ ext = Extension('xxlimited', ['xxlimited.c'],
+ define_macros=[('Py_LIMITED_API', 1)])
+ self.extensions.append(ext)
# XXX handle these, but how to detect?
# *** Uncomment and edit for PIL (TkImaging) extension only:
More information about the Python-checkins
mailing list