[fpc-devel]fcl/net doesn't build

Johannes Berg johannes at sipsolutions.de
Sat Nov 22 15:39:48 CET 2003


I added the following to allow fcl/net/fpsock.pp to build, however this
is a bad hack. The MSG_NOSIGNAL constant is used in fpsock.pp, but not
declared anywhere in the RTL.

+{$IF not declared(MSG_NOSIGNAL)}
+  {$IFDEF LINUX}
+  const
+    MSG_NOSIGNAL = $4000;
+  {$ELSE}
+  const
+    MSG_NOSIGNAL = 0;
+  {$ENDIF}
+{$ENDIF}

johannes
-- 
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
  Key-ID: 9AB78CA5 Johannes Berg <johannes at sipsolutions.de>
  Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031122/9bb9a63a/attachment.sig>


More information about the fpc-devel mailing list