mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-04 19:22:52 +08:00
Merge 9d6e4c27b7
into 1760c93474
This commit is contained in:
commit
9155523d72
3
configure
vendored
3
configure
vendored
@ -223,9 +223,6 @@ check_define __FreeBSD__ && bsd_detected=true
|
||||
check_define __OpenBSD__ && {
|
||||
bsd_detected=true
|
||||
echo "CFLAGS+=-DIS_OPENBSD">>config.mak
|
||||
check_compile_run 'whether OpenBSDs fclose() (illegally) calls close()' \
|
||||
'#include <stdio.h>\n#include<stdlib.h>\nint close(int x){exit(0);}int main(){fclose(stdin);return 1;}' && \
|
||||
OUR_CPPFLAGS="$OUR_CPPFLAGS -DBROKEN_FCLOSE"
|
||||
}
|
||||
check_define __sun && check_define __SVR4 && solaris_detected=true
|
||||
check_define __HAIKU__ && haiku_detected=true
|
||||
|
@ -560,9 +560,7 @@ inv_host:
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef BROKEN_FCLOSE
|
||||
fclose(file);
|
||||
#endif
|
||||
if(!count) {
|
||||
fprintf(stderr, "error: no valid proxy found in config\n");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user