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
f9136e21
Commit
f9136e21
authored
Apr 02, 2020
by
Arnon Yaari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solaris 10: define SUNOS_NO_IFADDRS to make libuv compile correctly
parent
10982c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/gevent/libuv/_corecffi_build.py
src/gevent/libuv/_corecffi_build.py
+5
-1
No files found.
src/gevent/libuv/_corecffi_build.py
View file @
f9136e21
...
@@ -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
...
@@ -235,6 +236,9 @@ elif sys.platform.startswith('sunos'):
...
@@ -235,6 +236,9 @@ 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
_define_macro
(
'SUNOS_NO_IFADDRS'
,
''
)
elif
WIN
:
elif
WIN
:
_define_macro
(
'_GNU_SOURCE'
,
1
)
_define_macro
(
'_GNU_SOURCE'
,
1
)
_define_macro
(
'WIN32'
,
1
)
_define_macro
(
'WIN32'
,
1
)
...
...
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