fixed win32 defines

This commit is contained in:
xantares
2014-12-23 16:23:08 +01:00
parent d247e1cf05
commit 1e28368222
2 changed files with 31 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ FPEnvironmentImpl::FPEnvironmentImpl(const FPEnvironmentImpl& env)
FPEnvironmentImpl::~FPEnvironmentImpl()
{
_controlfp(_env, MCW_RC);
_controlfp(_env, _MCW_RC);
}
@@ -65,13 +65,13 @@ bool FPEnvironmentImpl::isFlagImpl(FlagImpl flag)
void FPEnvironmentImpl::setRoundingModeImpl(RoundingModeImpl mode)
{
_controlfp(mode, MCW_RC);
_controlfp(mode, _MCW_RC);
}
FPEnvironmentImpl::RoundingModeImpl FPEnvironmentImpl::getRoundingModeImpl()
{
return RoundingModeImpl(_controlfp(0, 0) & MCW_RC);
return RoundingModeImpl(_controlfp(0, 0) & _MCW_RC);
}