1
0
forked from mirrors/0ad

Remove not needed checks and code for VS2015 [VS2013 -> VS2015]

Some pragma warnings are not more needed for VS2015 compilation this
removes them.
Removing some specific code for older version than VS2015.
Forcing build to fail if compiling with VS older than VS2015.

Differential Revision: https://code.wildfiregames.com/D1396
Reviewed by: @Itms
This was SVN commit r23416.
This commit is contained in:
Angen
2020-01-19 12:43:41 +00:00
parent 63d8d579d7
commit d33f1c7321
14 changed files with 15 additions and 46 deletions
-2
View File
@@ -91,9 +91,7 @@ inline int isinfinity(long double x) { return std::isinf(x); }
# pragma warning(push)
# pragma warning(disable: 4127) // conditional expression is constant
#if _MSC_VER > 1800
# pragma warning(disable:4456) // hides previous local declaration
#endif
inline int getsign(double value) {
if (value < 0) return 1;