mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Silence compile error
This commit is contained in:
parent
8c647cd737
commit
8c30a710e6
1 changed files with 4 additions and 3 deletions
7
setup.py
7
setup.py
|
|
@ -1579,9 +1579,10 @@ class PyBuildExt(build_ext):
|
|||
## # 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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue