2
0
Эх сурвалжийг харах

* 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 жил өмнө
parent
commit
707e05d131

+ 3 - 3
rtl/objpas/typinfo.pp

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