Browse Source

* enable is_prefetch only for x86 code

git-svn-id: trunk@44938 -
svenbarth 5 năm trước cách đây
mục cha
commit
5c898fe795
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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}
 
 
 //