* Ensure FPSockets compiles in unicode rtl

This commit is contained in:
Michael Van Canneyt 2024-10-02 14:48:22 +02:00
parent 9780607d05
commit b78679afa1
3 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,3 @@
unit System.Net.FPSockets;
{$DEFINE FPC_DOTTEDUNITS}
{$i fpsockets.pp}

View File

@ -8,3 +8,4 @@ src/cnetdb.pp=namespaced/System.Net.Cnetdb.pp
src/netdb.pp=namespaced/System.Net.Netdb.pp
src/ssockets.pp=namespaced/System.Net.Ssockets.pp
src/fpsock.pp=namespaced/System.Net.Fpsock.pp
src/fpsockets.pp=System.Net.FPSockets.pp

View File

@ -22,7 +22,7 @@ interface
{$IFDEF FPC_DOTTEDUNITS}
uses
System.SysUtils, System.Net.Sockets, SystemNullable;
System.SysUtils, System.Net.Sockets, System.Nullable;
{$ELSE FPC_DOTTEDUNITS}
uses
sysutils, sockets, nullable;