Browse Source

+ socket and ipc support for Linux/AArch64 (patch by Edmund Grimley Evans)

git-svn-id: trunk@30897 -
Jonas Maebe 10 years ago
parent
commit
6185ca8f3c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      packages/rtl-extra/src/linux/unixsock.inc
  2. 1 1
      packages/rtl-extra/src/unix/ipc.pp

+ 1 - 1
packages/rtl-extra/src/linux/unixsock.inc

@@ -13,7 +13,7 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 }
 }
 
 
-{$if not defined(cpux86_64) and not defined(NO_SYSCALL_SOCKETCALL)}
+{$if not defined(cpux86_64) and not defined(cpuaarch64) and not defined(NO_SYSCALL_SOCKETCALL)}
   {$define NEED_SOCKETCALL}
   {$define NEED_SOCKETCALL}
 {$endif}
 {$endif}
 
 

+ 1 - 1
packages/rtl-extra/src/unix/ipc.pp

@@ -860,7 +860,7 @@ uses Syscall;
 
 
 {$ifndef FPC_USE_LIBC}
 {$ifndef FPC_USE_LIBC}
  {$if defined(Linux)}
  {$if defined(Linux)}
-  {$if defined(cpux86_64) or defined(NO_SYSCALL_IPC)}
+  {$if defined(cpux86_64) or defined(cpuaarch64) or defined(NO_SYSCALL_IPC)}
     {$i ipcsys.inc}
     {$i ipcsys.inc}
   {$else}
   {$else}
     {$i ipccall.inc}
     {$i ipccall.inc}