Commit 66d0edb6 authored by Jesse Gorzinski's avatar Jesse Gorzinski Committed by GitHub

Fix build for IBM i

parent 83c9e2ae
......@@ -272,7 +272,8 @@ elif sys.platform.startswith('sunos'): # pragma: no cover
_define_macro('SUNOS_NO_IFADDRS', '')
elif sys.platform.startswith('aix'): # pragma: no cover
_define_macro('_LINUX_SOURCE_COMPAT', 1)
_add_library('perfstat')
if os.uname().sysname != 'OS400':
_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