Changeset 423 for trunk/Direct.pas


Ignore:
Timestamp:
Apr 25, 2022, 6:01:01 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Do not use explicit mode delphi directive as it is already set in project.
  • Modified: Use UNIX instead of LINUX for conditional code to work also on FreeBSD.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r382 r423  
    77  Messg,
    88
    9   LCLIntf, LCLType, {$IFDEF Linux}LMessages, {$ENDIF}Messages, SysUtils, Classes,
     9  LCLIntf, LCLType, {$IFDEF UNIX}LMessages, {$ENDIF}Messages, SysUtils, Classes,
    1010  Graphics, Controls, Forms, DrawDlg, GameServer;
    1111
     
    153153        State := -1;
    154154        Show;
    155         {$IFDEF LINUX}
     155        {$IFDEF UNIX}
    156156        // Force shown window repaint on Gtk2 widgetset
    157157        Sleep(1);
     
    302302  Invalidate;
    303303  Update;
    304   {$IFDEF LINUX}
     304  {$IFDEF UNIX}
    305305  Application.ProcessMessages;
    306306  {$ENDIF}
Note: See TracChangeset for help on using the changeset viewer.