Commit 73dc4fa6 authored by Jason Madden's avatar Jason Madden Committed by GitHub

Merge pull request #1548 from wiggin15/aix

AIX: fix compilation of libuv
parents 10982c52 b9ed4e21
......@@ -194,12 +194,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 = [
......@@ -235,6 +239,9 @@ elif sys.platform.startswith('sunos'):
_add_library('nsl')
_add_library('sendfile')
_add_library('socket')
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