Explorar el Código

* enable is_prefetch only for x86 code

git-svn-id: trunk@44938 -
svenbarth hace 5 años
padre
commit
5c898fe795
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      rtl/win64/system.pp

+ 2 - 0
rtl/win64/system.pp

@@ -280,6 +280,7 @@ begin
 end;
 {$endif VER3_0}
 
+{$ifdef CPUX86_64}
 function is_prefetch(p : pointer) : boolean;
   var
     a : array[0..15] of byte;
@@ -317,6 +318,7 @@ function is_prefetch(p : pointer) : boolean;
         inc(i);
       end;
   end;
+{$endif}
 
 
 //