diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-27 23:22:51 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-24 09:12:18 +0100 |
commit | f329410d736916385a74dd22cbf5268db9b3c463 (patch) | |
tree | d92083403f6e97728d7ec2501827d48f3793a365 /init | |
parent | 98bc4759107c54783c08bf1ecde35e96f1345dc1 (diff) | |
download | busybox-w32-f329410d736916385a74dd22cbf5268db9b3c463.tar.gz busybox-w32-f329410d736916385a74dd22cbf5268db9b3c463.tar.bz2 busybox-w32-f329410d736916385a74dd22cbf5268db9b3c463.zip |
xconnect: avoid using getsockname/getpeername on Windows
The semantics of said functions is a bit different on Windows than on
Linux: it takes a `SOCKET` parameter instead of an `int` parameter, as
Windows does not use file descriptors for sockets.
The callers of these functions are only used in the daemons anyway,
though, and those are not compiled in busybox-w32.
Therefore, let's simply skip compiling those functions on Windows (as
well as `get_lsa()`, which would now be unused otherwise).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions