瀏覽代碼

* check for CPUM68k instead of M68K; the latter should only be defined when building the compiler, so I wonder how that ever worked...

git-svn-id: trunk@42765 -
svenbarth 6 年之前
父節點
當前提交
707e05d131
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      rtl/objpas/typinfo.pp

+ 3 - 3
rtl/objpas/typinfo.pp

@@ -1023,15 +1023,15 @@ type
 
 function aligntoptr(p : pointer) : pointer;inline;
    begin
-{$ifdef m68k}
+{$ifdef CPUM68K}
      result:=AlignTypeData(p);
-{$else m68k}
+{$else CPUM68K}
 {$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
      result:=align(p,sizeof(p));
 {$else FPC_REQUIRES_PROPER_ALIGNMENT}
      result:=p;
 {$endif FPC_REQUIRES_PROPER_ALIGNMENT}
-{$endif m68k}
+{$endif CPUM68K}
    end;