Ver código fonte

m68k: also add options.pas to the previous change

git-svn-id: trunk@36303 -
Károly Balogh 8 anos atrás
pai
commit
a4c40a51ff
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      compiler/options.pas

+ 5 - 0
compiler/options.pas

@@ -3396,8 +3396,13 @@ begin
 
 
 { these cpus have an inline rol/ror implementaion }
 { these cpus have an inline rol/ror implementaion }
 {$ifdef cpurox}
 {$ifdef cpurox}
+{$ifdef m68k}
+  if CPUM68K_HAS_ROLROR in cpu_capabilities[init_settings.cputype] then
+    def_system_macro('FPC_HAS_INTERNAL_ROX');
+{$else}
   def_system_macro('FPC_HAS_INTERNAL_ROX');
   def_system_macro('FPC_HAS_INTERNAL_ROX');
 {$endif}
 {$endif}
+{$endif}
 
 
 { these cpus have an inline sar implementaion }
 { these cpus have an inline sar implementaion }
 { currently, all supported CPUs have an internal sar implementation }
 { currently, all supported CPUs have an internal sar implementation }