Intel: Fix detection of MSVC version simulated by pre-11.0 Fortran

The Intel Fortran 10 64-bit compiler incorrectly defines _MSC_VER to its
own version (1020) instead of the underlying MSVC tools version.  Since
we expect the compiler to be used only with VS >= 7 tools, assume MSVC
version 13.0 if _MSC_VER is not greater than 1300.
This commit is contained in:
Brad King 2013-10-16 15:27:14 -04:00
parent a85e17e660
commit d14898b6dc
1 changed files with 1 additions and 3 deletions

View File

@ -18,10 +18,8 @@
PRINT *, 'INFO:simulate_version[014.00]'
# elif _MSC_VER >= 1310
PRINT *, 'INFO:simulate_version[013.01]'
# elif _MSC_VER >= 1300
# else
PRINT *, 'INFO:simulate_version[013.00]'
# elif _MSC_VER >= 1200
PRINT *, 'INFO:simulate_version[012.00]'
# endif
# endif
#elif defined(__SUNPRO_F90) || defined(__SUNPRO_F95)