소스 검색

* turn off threadvars in softfpu if threading is not enabled

git-svn-id: trunk@23258 -
florian 12 년 전
부모
커밋
e6f2c8cbd3
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      rtl/inc/mathh.inc

+ 5 - 1
rtl/inc/mathh.inc

@@ -47,7 +47,11 @@ Software IEC/IEEE floating-point rounding mode.
     float_round_up           = 2;
     float_round_to_zero      = 3;
 
-threadvar
+{$ifdef FPC_HAS_FEATURE_THREADING}
+ThreadVar
+{$else FPC_HAS_FEATURE_THREADING}
+Var
+{$endif FPC_HAS_FEATURE_THREADING}
   softfloat_exception_mask : Byte;
   softfloat_exception_flags : Byte;
   softfloat_rounding_mode : Byte;