Browse Source

Avoid warning on non-i386 CPUs

git-svn-id: trunk@19594 -
pierre 13 năm trước cách đây
mục cha
commit
c86e36a53b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/gdbint/src/gdbint.pp

+ 2 - 0
packages/gdbint/src/gdbint.pp

@@ -2658,6 +2658,8 @@ function MaskAllFPUExceptions(control : TFPUState) : TFPUState;
 begin
 {$ifdef cpui386}
   MaskAllFPUExceptions := control or MaskAllExceptions;
+{$else}
+  MaskAllFPUExceptions:=0;
 {$endif}
 end;