Kaydet (Commit) fda3c3dd authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Patch #462255, from Jason Tishler] Re-enables building the resouce

    module on the Cygwin platform.
üst 83eeef4b
......@@ -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;
......
......@@ -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']:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment