Changeset View
Changeset View
Standalone View
Standalone View
lang/fpc/files/patch-rtl_freebsd_bunxsysc.inc
--- rtl/bsd/bunxsysc.inc.orig 2020-12-25 11:42:18.179832000 +0100 | |||||
+++ rtl/bsd/bunxsysc.inc 2020-12-25 11:42:41.205447000 +0100 | |||||
@@ -376,7 +376,7 @@ end; | |||||
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} | |||||
{$endif} | |||||
Function FPpipe(var fildes : tfildes; flags:cint):cint; |