mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-25 10:53:00 +08:00
Fix typo, and clean up
This commit is contained in:
parent
e20e0e8b5d
commit
f832d1dc89
4
configure
vendored
4
configure
vendored
@ -34,7 +34,7 @@ issolaris() {
|
|||||||
[ "`uname -s`" = SunOS ]
|
[ "`uname -s`" = SunOS ]
|
||||||
}
|
}
|
||||||
|
|
||||||
isgunld() {
|
isgnuld() {
|
||||||
ld --version 2> /dev/null | grep -Fq GNU
|
ld --version 2> /dev/null | grep -Fq GNU
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ elif isbsd ; then
|
|||||||
make_cmd=gmake
|
make_cmd=gmake
|
||||||
elif issolaris; then
|
elif issolaris; then
|
||||||
echo "CFLAGS+=-DIS_SOLARIS -D__EXTENSIONS__" >> config.mak
|
echo "CFLAGS+=-DIS_SOLARIS -D__EXTENSIONS__" >> config.mak
|
||||||
if ! isgunld; then
|
if ! isgnuld; then
|
||||||
echo "NO_AS_NEEDED=" >> config.mak
|
echo "NO_AS_NEEDED=" >> config.mak
|
||||||
echo "LD_SET_SONAME=-Wl,-h," >> config.mak
|
echo "LD_SET_SONAME=-Wl,-h," >> config.mak
|
||||||
fi
|
fi
|
||||||
|
@ -38,12 +38,6 @@
|
|||||||
#include "core.h"
|
#include "core.h"
|
||||||
#include "common.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 satosin(x) ((struct sockaddr_in *) &(x))
|
||||||
#define SOCKADDR(x) (satosin(x)->sin_addr.s_addr)
|
#define SOCKADDR(x) (satosin(x)->sin_addr.s_addr)
|
||||||
#define SOCKADDR_2(x) (satosin(x)->sin_addr)
|
#define SOCKADDR_2(x) (satosin(x)->sin_addr)
|
||||||
|
Loading…
Reference in New Issue
Block a user