Parcourir la source

* 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 il y a 6 ans
Parent
commit
707e05d131
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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;