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
349d031f
Commit
349d031f
authored
May 29, 2014
by
Park Joon-Kyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made gevent.core buildable under 32 bit systems
parent
f6dcbbac
Changes
1
Hide 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 @
349d031f
...
...
@@ -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