Commit f9136e21 authored by Arnon Yaari's avatar Arnon Yaari

Solaris 10: define SUNOS_NO_IFADDRS to make libuv compile correctly

parent 10982c52
......@@ -7,9 +7,10 @@
# this file to know what functions are created and available on the generated
# module.
from __future__ import absolute_import, print_function
import sys
import os
import os.path # pylint:disable=no-name-in-module
import platform
import sys
from cffi import FFI
......@@ -235,6 +236,9 @@ elif sys.platform.startswith('sunos'):
_add_library('nsl')
_add_library('sendfile')
_add_library('socket')
if platform.release() == '5.10':
# https://github.com/libuv/libuv/issues/1458
_define_macro('SUNOS_NO_IFADDRS', '')
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