Cleanup: checks for unsupported MSVC versions

This commit is contained in:
Campbell Barton
2015-06-20 15:17:32 +10:00
parent 4addabaed8
commit 74b32a23f7
4 changed files with 4 additions and 13 deletions

View File

@@ -41,7 +41,7 @@
#endif
#ifdef WIN32
# if defined(_MSC_VER) && _MSC_VER >= 1800 && defined(_M_X64)
# if defined(_MSC_VER) && defined(_M_X64)
# include <math.h> /* needed for _set_FMA3_enable */
# endif
# include <windows.h>
@@ -1645,7 +1645,7 @@ int main(
#ifdef WIN32
/* FMA3 support in the 2013 CRT is broken on Vista and Windows 7 RTM (fixed in SP1). Just disable it. */
# if defined(_MSC_VER) && _MSC_VER >= 1800 && defined(_M_X64)
# if defined(_MSC_VER) && defined(_M_X64)
_set_FMA3_enable(0);
# endif