Skip to content

Commit

Permalink
unix: fix support for uClibc-ng
Browse files Browse the repository at this point in the history
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: #653
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
  • Loading branch information
martinbark authored and saghul committed Dec 16, 2015
1 parent 427e4c9 commit c861972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/linux-core.c
Expand Up @@ -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
Expand Down

0 comments on commit c861972

Please sign in to comment.