From a4c40a51ffc98a7de9b90467eeafd47ecfe6ab71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Tue, 23 May 2017 00:18:13 +0000 Subject: [PATCH] m68k: also add options.pas to the previous change git-svn-id: trunk@36303 - --- compiler/options.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/options.pas b/compiler/options.pas index db6d0d53ee..abeace7214 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -3396,8 +3396,13 @@ begin { these cpus have an inline rol/ror implementaion } {$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'); {$endif} +{$endif} { these cpus have an inline sar implementaion } { currently, all supported CPUs have an internal sar implementation }