Changeset 423 for trunk/UBrain.pas


Ignore:
Timestamp:
Apr 25, 2022, 6:01:01 PM (2 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/UBrain.pas

    r417 r423  
    11unit UBrain;
    2 
    3 {$mode delphi}
    42
    53interface
     
    126124      DLLName := BasePath + DirectorySeparator + Value
    127125    {$ENDIF}{$ENDIF}
    128     {$IFDEF LINUX}{$IFDEF CPU32}
     126    {$IFDEF UNIX}{$IFDEF CPU32}
    129127    else if Key = '#PATH_LINUX32' then
    130128      DLLName := BasePath + DirectorySeparator + Value
    131129    {$ENDIF}{$ENDIF}
    132     {$IFDEF LINUX}{$IFDEF CPU64}
     130    {$IFDEF UNIX}{$IFDEF CPU64}
    133131    else if Key = '#PATH_LINUX64' then
    134132      DLLName := BasePath + DirectorySeparator + Value
Note: See TracChangeset for help on using the changeset viewer.