Changeset 369 for trunk/Network/UNetworkServer.pas
- Timestamp:
- Apr 14, 2021, 3:49:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Network/UNetworkServer.pas
r367 r369 6 6 7 7 uses 8 Classes, SysUtils, fgl, fpAsync, fpsock, Protocol, fphttpclient; 9 8 Classes, SysUtils, fgl{$IFDEF LINUX}, fpAsync, fpsock{$ENDIF}, Protocol, fphttpclient; 9 10 {$IFDEF LINUX} 10 11 type 11 12 TNetworkServer = class; … … 79 80 var 80 81 NetworkServer: TNetworkServer; 82 {$ENDIF} 81 83 82 84 procedure Client(Command, Player: integer; var Data); stdcall; … … 90 92 procedure Client(Command, Player: integer; var Data); 91 93 begin 94 {$IFDEF LINUX} 92 95 if not Assigned(NetworkServer) then begin 93 96 NetworkServer := TNetworkServer.Create; … … 99 102 end; 100 103 NetworkServer.Client(TCommand(Command), Player, Data); 101 end; 104 {$ENDIF} 105 end; 106 107 {$IFDEF LINUX} 102 108 103 109 { TNetworkServerPlayers } … … 327 333 end; 328 334 335 {$ENDIF} 336 329 337 end. 330 338
Note:
See TracChangeset
for help on using the changeset viewer.