Sorry I looked at the wrong unix part (it was in ifdef cpu64) so I used
int64 in windows. This patch (apply after the 1st one) changes ssize_t
to cint32 as it should be on 32bit systems.
Sorry again,
Ales
Index: sockets.pp
===================================================================
--- sockets.pp (revision 749)
+++ sockets.pp (working copy)
@@ -26,7 +26,7 @@
cuint16=word;
cuint32=cardinal;
size_t =cuint32;
- ssize_t=Int64;
+ ssize_t=cint32;
cint =longint;
pcint =^cint;
tsocklen=cint;
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel