Explorar o código

* manually merged part of d8021a11029990117503179f27e8b9af6418d32c that prohibits later merges

marcoonthegit %!s(int64=3) %!d(string=hai) anos
pai
achega
bd4b14a28b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/bsd/bunxsysc.inc

+ 1 - 1
rtl/bsd/bunxsysc.inc

@@ -376,7 +376,7 @@ end;
 
 
 function __pipe_call(sysnr:TSysParam):TSysResult; {$ifdef cpui386}oldfpccall{$endif} external name 'FPC_DOSYS0';
 function __pipe_call(sysnr:TSysParam):TSysResult; {$ifdef cpui386}oldfpccall{$endif} external name 'FPC_DOSYS0';
 
 
-{$if defined(freebsd) or defined (dragonfly)}
+{$if (defined(freebsd) or defined (dragonfly)) and (defined(CPUi386) or defined(CPUX86_64))}
   {$define PIPE_RESULT_IN_EAX_AND_EDX}
   {$define PIPE_RESULT_IN_EAX_AND_EDX}
 {$endif}
 {$endif}
 Function FPpipe(var fildes : tfildes):cint;
 Function FPpipe(var fildes : tfildes):cint;