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
0029093f
Commit
0029093f
authored
Apr 03, 2020
by
Jason Madden
Committed by
GitHub
Apr 03, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1549 from wiggin15/sunos
Solaris 10: define SUNOS_NO_IFADDRS to make libuv compile correctly
parents
fbc2e7c3
c177a5a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/gevent/libuv/_corecffi_build.py
src/gevent/libuv/_corecffi_build.py
+6
-1
No files found.
src/gevent/libuv/_corecffi_build.py
View file @
0029093f
...
@@ -7,9 +7,10 @@
...
@@ -7,9 +7,10 @@
# this file to know what functions are created and available on the generated
# this file to know what functions are created and available on the generated
# module.
# module.
from
__future__
import
absolute_import
,
print_function
from
__future__
import
absolute_import
,
print_function
import
sys
import
os
import
os
import
os.path
# pylint:disable=no-name-in-module
import
os.path
# pylint:disable=no-name-in-module
import
platform
import
sys
from
cffi
import
FFI
from
cffi
import
FFI
...
@@ -239,6 +240,10 @@ elif sys.platform.startswith('sunos'):
...
@@ -239,6 +240,10 @@ elif sys.platform.startswith('sunos'):
_add_library
(
'nsl'
)
_add_library
(
'nsl'
)
_add_library
(
'sendfile'
)
_add_library
(
'sendfile'
)
_add_library
(
'socket'
)
_add_library
(
'socket'
)
if
platform
.
release
()
==
'5.10'
:
# https://github.com/libuv/libuv/issues/1458
# https://github.com/giampaolo/psutil/blob/4d6a086411c77b7909cce8f4f141bbdecfc0d354/setup.py#L298-L300
_define_macro
(
'SUNOS_NO_IFADDRS'
,
''
)
elif
sys
.
platform
.
startswith
(
'aix'
):
elif
sys
.
platform
.
startswith
(
'aix'
):
_define_macro
(
'_LINUX_SOURCE_COMPAT'
,
1
)
_define_macro
(
'_LINUX_SOURCE_COMPAT'
,
1
)
_add_library
(
'perfstat'
)
_add_library
(
'perfstat'
)
...
...
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