Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
f315c1eb
Commit
f315c1eb
authored
May 30, 2014
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #447 from segfault87/master
made gevent.corecffi buildable under 32 bit systems
parents
f6dcbbac
349d031f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gevent/corecffi.py
gevent/corecffi.py
+7
-0
No files found.
gevent/corecffi.py
View file @
f315c1eb
...
...
@@ -3,6 +3,7 @@ import sys
import
os
import
traceback
import
signal
as
signalmodule
import
struct
__all__
=
[
'get_version'
,
...
...
@@ -14,9 +15,15 @@ __all__ = ['get_version',
'loop'
]
def
system_bits
():
return
struct
.
calcsize
(
'P'
)
*
8
def
st_nlink_type
():
if
sys
.
platform
==
"darwin"
:
return
"short"
elif
system_bits
()
==
32
:
return
"unsigned long"
return
"long long"
...
...
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