Просмотр исходного кода

* hopefully fix fpu emulation ppu header flag check after r41846

git-svn-id: trunk@41847 -
Jonas Maebe 6 лет назад
Родитель
Сommit
1b0b81f714
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      compiler/fppu.pas

+ 1 - 1
compiler/fppu.pas

@@ -276,7 +276,7 @@ var
 {$ifdef cpufpemu}
           { check if floating point emulation is on?
             fpu emulation isn't unit levelwise because it affects calling convention }
-          if ((headerflags and uf_fpu_emulation)<>0) <>
+          if ((ppufile.header.common.flags and uf_fpu_emulation)<>0) <>
              (cs_fp_emulation in current_settings.moduleswitches) then
             begin
               Message(unit_u_ppu_invalid_fpumode,@queuecomment);