Changeset 96205 in vbox for trunk/src/VBox/Runtime/testcase/tstRTNoCrt-2.cpp
- Timestamp:
- Aug 14, 2022 11:40:55 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTNoCrt-2.cpp
r96203 r96205 38 38 39 39 #define IPRT_NO_CRT_FOR_3RD_PARTY 40 #define IPRT_NOCRT_WITHOUT_MATH_CONSTANTS /* so we can include both the CRT one and our no-CRT header */ 40 #define IPRT_NOCRT_WITHOUT_CONFLICTING_CONSTANTS /* so we can include both the CRT one and our no-CRT header */ 41 #define IPRT_NOCRT_WITHOUT_CONFLICTING_TYPES /* so we can include both the CRT one and our no-CRT header */ 41 42 #include <iprt/nocrt/math.h> 42 43 #define IPRT_INCLUDED_nocrt_limits_h /* prevent our limits from being included */ … … 1104 1105 */ 1105 1106 #if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86) 1106 AssertCompile( FE_TONEAREST == X86_FCW_RC_NEAREST);1107 AssertCompile( FE_DOWNWARD == X86_FCW_RC_DOWN);1108 AssertCompile( FE_UPWARD == X86_FCW_RC_UP);1109 AssertCompile( FE_TOWARDZERO == X86_FCW_RC_ZERO);1110 AssertCompile( _ROUND_MASK== X86_FCW_RC_MASK);1107 AssertCompile(RT_NOCRT_FE_TONEAREST == X86_FCW_RC_NEAREST); 1108 AssertCompile(RT_NOCRT_FE_DOWNWARD == X86_FCW_RC_DOWN); 1109 AssertCompile(RT_NOCRT_FE_UPWARD == X86_FCW_RC_UP); 1110 AssertCompile(RT_NOCRT_FE_TOWARDZERO == X86_FCW_RC_ZERO); 1111 AssertCompile(RT_NOCRT_FE_ROUND_MASK == X86_FCW_RC_MASK); 1111 1112 #endif 1112 1113 int const iSavedMode = RT_NOCRT(fegetround)();
Note:
See TracChangeset
for help on using the changeset viewer.