Sfoglia il codice sorgente

m68k: define CPUCOLDFIRE on the CF family targets

git-svn-id: trunk@33531 -
Károly Balogh 9 anni fa
parent
commit
510c3456d6
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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]);