Selaa lähdekoodia

* enable is_prefetch only for x86 code

git-svn-id: trunk@44938 -
svenbarth 5 vuotta sitten
vanhempi
commit
5c898fe795
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      rtl/win64/system.pp

+ 2 - 0
rtl/win64/system.pp

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