mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 16:29:27 +02:00
* add comment to size_t definition. Documents issue #22834 a bit.
git-svn-id: trunk@22615 -
This commit is contained in:
parent
3d63b1a2b2
commit
b0a984086f
@ -22,6 +22,11 @@ Interface
|
||||
winsock2,ctypes;
|
||||
|
||||
Type
|
||||
// the common socket functions are defined as size_t.
|
||||
// without defining them for Windows this way, the
|
||||
// sockets unit is not crossplatform. This is not a mistake
|
||||
// wrt 64-bit, the types are "INT" in the headers.
|
||||
// Mantis #22834
|
||||
size_t = cuint32;
|
||||
ssize_t = cint32;
|
||||
tsocklen= cint;
|
||||
|
Loading…
Reference in New Issue
Block a user