Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fda3c3dd
Commit
fda3c3dd
authored
Sep 17, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Patch #462255, from Jason Tishler] Re-enables building the resouce
module on the Cygwin platform.
parent
83eeef4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Modules/resource.c
Modules/resource.c
+2
-1
setup.py
setup.py
+1
-2
No files found.
Modules/resource.c
View file @
fda3c3dd
...
...
@@ -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
;
...
...
setup.py
View file @
fda3c3dd
...
...
@@ -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'
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment