mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +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() */
|
||||
}
|
||||
|
||||
void initresource(void)
|
||||
DL_EXPORT(void)
|
||||
initresource(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -429,8 +429,7 @@ class PyBuildExt(build_ext):
|
|||
# Steen Lumholt's termios module
|
||||
exts.append( Extension('termios', ['termios.c']) )
|
||||
# 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.
|
||||
if platform not in ['cygwin']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue