Explorar o código

m68k: define CPUCOLDFIRE on the CF family targets

git-svn-id: trunk@33531 -
Károly Balogh %!s(int64=9) %!d(string=hai) anos
pai
achega
510c3456d6
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      compiler/options.pas

+ 4 - 0
compiler/options.pas

@@ -3905,6 +3905,10 @@ begin
       end;
   end;
 {$endif mipsel}
+{$ifdef m68k}
+  if init_settings.cputype in cpu_coldfire then
+    def_system_macro('CPUCOLDFIRE');
+{$endif m68k}
 
   { now we can define cpu and fpu type }
   def_system_macro('CPU'+Cputypestr[init_settings.cputype]);