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

module on the Cygwin platform.
This commit is contained in:
Andrew M. Kuchling 2001-09-17 16:19:16 +00:00
parent 83eeef4b06
commit fda3c3ddae
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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']: