Commit c177a5a2 authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge branch 'master' into sunos

parents f9136e21 fbc2e7c3
......@@ -11,7 +11,8 @@
- Fix an ``AttributeError`` when wrapping gevent's ``FileObject``
around an opened text stream. Reported in :issue:`1542` by
dmrlawson.
- Fix compilation of libuv on AIX and Solaris 10. See :pr:`1549` and :pr:`1548`
by Arnon Yaari.
1.5a4 (2020-03-23)
==================
......
......@@ -195,12 +195,16 @@ elif sys.platform.startswith('netbsd'):
_libuv_source('unix/posix-hrtime.c'),
_libuv_source('unix/bsd-proctitle.c'),
]
elif sys.platform.startswith('sunos'):
LIBUV_SOURCES += [
_libuv_source('unix/no-proctitle.c'),
_libuv_source('unix/sunos.c'),
]
elif sys.platform.startswith('aix'):
LIBUV_SOURCES += [
_libuv_source('unix/aix.c'),
_libuv_source('unix/aix-common.c'),
]
LIBUV_MACROS = [
......@@ -238,7 +242,11 @@ elif sys.platform.startswith('sunos'):
_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'):
_define_macro('_LINUX_SOURCE_COMPAT', 1)
_add_library('perfstat')
elif WIN:
_define_macro('_GNU_SOURCE', 1)
_define_macro('WIN32', 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment