diff --git a/configure b/configure index dfaf9dd..ad5325a 100755 --- a/configure +++ b/configure @@ -34,7 +34,7 @@ issolaris() { [ "`uname -s`" = SunOS ] } -isgunld() { +isgnuld() { ld --version 2> /dev/null | grep -Fq GNU } @@ -190,7 +190,7 @@ elif isbsd ; then make_cmd=gmake elif issolaris; then echo "CFLAGS+=-DIS_SOLARIS -D__EXTENSIONS__" >> config.mak - if ! isgunld; then + if ! isgnuld; then echo "NO_AS_NEEDED=" >> config.mak echo "LD_SET_SONAME=-Wl,-h," >> config.mak fi diff --git a/src/libproxychains.c b/src/libproxychains.c index 20d8c49..75ffcb8 100644 --- a/src/libproxychains.c +++ b/src/libproxychains.c @@ -38,12 +38,6 @@ #include "core.h" #include "common.h" -#ifdef IS_SOLARIS -#ifndef s6_addr32 -#define s6_addr32 _S6_un._S6_u32 -#endif -#endif - #define satosin(x) ((struct sockaddr_in *) &(x)) #define SOCKADDR(x) (satosin(x)->sin_addr.s_addr) #define SOCKADDR_2(x) (satosin(x)->sin_addr)