Skip to content

Commit

Permalink
Backport of cba53cd
Browse files Browse the repository at this point in the history
Since it seems that the 64-bit enabled projectfiles for Visual Studio were added without also being tested that they generate a working executable.
  • Loading branch information
Pentarctagon committed Apr 10, 2020
1 parent 3545a3e commit 7fa10a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wesnoth.cpp
Expand Up @@ -571,6 +571,7 @@ static void check_fpu()
}
}

#ifndef _M_AMD64
if(precision_mode != _PC_53) {
std::cerr << "Floating point precision mode is currently '"
<< ((precision_mode == _PC_53)
Expand All @@ -584,6 +585,8 @@ static void check_fpu()
std::cerr << "failed to set floating point precision type to 'double'\n";
}
}
#endif

} else {
std::cerr << "_controlfp_s failed.\n";
}
Expand Down

0 comments on commit 7fa10a1

Please sign in to comment.