Opened 12 years ago
Closed 12 years ago
#1338 closed Bug (fixed)
EMSGSIZE and EPROTO not found on Windows
Reported by: | lubomir.marinov | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | libtransmission | Version: | |
Severity: | Normal | Keywords: | |
Cc: |
Description
r6875 makes use of EMSGSIZE and EPROTO in libtransmission\peer-mgr.c and peer-msgs.c but these don't seem to be available on Windows. I guess EMSGSIZE is WSAEMSGSIZE...
Change History (6)
comment:1 Changed 12 years ago by charles
comment:2 Changed 12 years ago by charles
answering my own question: http://burks.bton.ac.uk/burks/pcinfo/progdocs/winsock/winsocka.htm
comment:3 Changed 12 years ago by charles
- Resolution set to fixed
- Status changed from new to closed
possible fix: r6876. please reopen if this doesn't fix it. :)
comment:4 Changed 12 years ago by lubomir.marinov
- Resolution fixed deleted
- Status changed from closed to reopened
charles: Thank you!
EINVAL and ERANGE reside in errno.h on Windows so peer-mgr.c needs it in order to be compiled. net.h seems to be able to deliver it but it does so only if WIN32 isn't defined.
Then ENOTCONN is defined in net.h but the header in question doesn't get included into peer-msgs.c.
comment:5 Changed 12 years ago by charles
comment:6 Changed 12 years ago by charles
- Resolution set to fixed
- Status changed from reopened to closed
lubomir: where can I find a list of the errnos supported by win32? is the win32 version of errno.h available online somewhere?