Browse Source

m68k: define CPUCOLDFIRE on the CF family targets

git-svn-id: trunk@33531 -
Károly Balogh 9 years ago
parent
commit
510c3456d6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/options.pas

+ 4 - 0
compiler/options.pas

@@ -3905,6 +3905,10 @@ begin
       end;
       end;
   end;
   end;
 {$endif mipsel}
 {$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 }
   { now we can define cpu and fpu type }
   def_system_macro('CPU'+Cputypestr[init_settings.cputype]);
   def_system_macro('CPU'+Cputypestr[init_settings.cputype]);