mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 09:19:45 +02:00
+ add missing SHUT_* constants for fpshutdown() (aliases from winsock2)
git-svn-id: trunk@11939 -
This commit is contained in:
parent
19f8aede99
commit
4972ec0ae5
@ -41,6 +41,10 @@ const
|
||||
EsockEPROTONOSUPPORT = WSAEPROTONOSUPPORT;
|
||||
EsockEWOULDBLOCK = WSAEWOULDBLOCK;
|
||||
|
||||
SHUT_RD = SD_RECEIVE; // aliases so we are cross-platform
|
||||
SHUT_WR = SD_SEND;
|
||||
SHUT_RDWR = SD_BOTH;
|
||||
|
||||
{$i socketsh.inc}
|
||||
{$i fpwinsockh.inc}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user