소스 검색

* enable is_prefetch only for x86 code

git-svn-id: trunk@44938 -
svenbarth 5 년 전
부모
커밋
5c898fe795
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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}
 
 
 //