Changeset 451 for trunk/UBrain.pas


Ignore:
Timestamp:
Jul 30, 2022, 3:38:26 PM (2 years ago)
Author:
chronos
Message:
  • Added: Support for ARM 32-bit and 64-bit architectures for loading StdAI and other AIs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UBrain.pas

    r447 r451  
    125125      DLLName := BasePath + DirectorySeparator + Value
    126126    {$ENDIF}{$ENDIF}
    127     {$IFDEF UNIX}{$IFDEF CPU32}
    128     else if Key = '#PATH_LINUX32' then
    129       DLLName := BasePath + DirectorySeparator + Value
    130     {$ENDIF}{$ENDIF}
    131     {$IFDEF UNIX}{$IFDEF CPU64}
    132     else if Key = '#PATH_LINUX64' then
     127    {$IFDEF UNIX}{$IFDEF CPUI386}
     128    else if Key = '#PATH_LINUX_I386' then
     129      DLLName := BasePath + DirectorySeparator + Value
     130    {$ENDIF}{$ENDIF}
     131    {$IFDEF UNIX}{$IFDEF CPUAMD64}
     132    else if Key = '#PATH_LINUX_AMD64' then
     133      DLLName := BasePath + DirectorySeparator + Value
     134    {$ENDIF}{$ENDIF}
     135    {$IFDEF UNIX}{$IFDEF CPUARM}
     136    else if Key = '#PATH_LINUX_ARM32' then
     137      DLLName := BasePath + DirectorySeparator + Value
     138    {$ENDIF}{$ENDIF}
     139    {$IFDEF UNIX}{$IFDEF CPUAARCH64}
     140    else if Key = '#PATH_LINUX_ARM64' then
    133141      DLLName := BasePath + DirectorySeparator + Value
    134142    {$ENDIF}{$ENDIF}
Note: See TracChangeset for help on using the changeset viewer.