Переглянути джерело

m68k: define CPUCOLDFIRE on the CF family targets

git-svn-id: trunk@33531 -
Károly Balogh 9 роки тому
батько
коміт
510c3456d6
1 змінених файлів з 4 додано та 0 видалено
  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]);