unix: fix support for uClibc-ng
uClibc-ng is currently at v1.0.9. The patch corrects the uClibc version test so that HAVE_IFADDRS_H is defined for uClibc versions after v0.9.32. Signed-off-by: Martin Bark <martin@barkynet.com> PR-URL: https://github.com/libuv/libuv/pull/653 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
427e4c9d48
commit
c861972140
@ -39,7 +39,7 @@
|
||||
#define HAVE_IFADDRS_H 1
|
||||
|
||||
#ifdef __UCLIBC__
|
||||
# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32
|
||||
# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32
|
||||
# undef HAVE_IFADDRS_H
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user