mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
[Patch #462255, from Jason Tishler] Re-enables building the resouce
module on the Cygwin platform.
This commit is contained in:
parent
83eeef4b06
commit
fda3c3ddae
2 changed files with 3 additions and 3 deletions
|
|
@ -169,7 +169,8 @@ ins(PyObject *dict, char *name, int value)
|
||||||
/* errors will be checked by initresource() */
|
/* errors will be checked by initresource() */
|
||||||
}
|
}
|
||||||
|
|
||||||
void initresource(void)
|
DL_EXPORT(void)
|
||||||
|
initresource(void)
|
||||||
{
|
{
|
||||||
PyObject *m, *d;
|
PyObject *m, *d;
|
||||||
|
|
||||||
|
|
|
||||||
1
setup.py
1
setup.py
|
|
@ -429,7 +429,6 @@ class PyBuildExt(build_ext):
|
||||||
# Steen Lumholt's termios module
|
# Steen Lumholt's termios module
|
||||||
exts.append( Extension('termios', ['termios.c']) )
|
exts.append( Extension('termios', ['termios.c']) )
|
||||||
# Jeremy Hylton's rlimit interface
|
# Jeremy Hylton's rlimit interface
|
||||||
if platform not in ['cygwin']:
|
|
||||||
exts.append( Extension('resource', ['resource.c']) )
|
exts.append( Extension('resource', ['resource.c']) )
|
||||||
|
|
||||||
# Sun yellow pages. Some systems have the functions in libc.
|
# Sun yellow pages. Some systems have the functions in libc.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue