include: Fix preprocessor use of _MSC_VER.
This commit is contained in:
parent
a15f283c7d
commit
2ad4439d51
|
@ -296,7 +296,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Eliminate Microsoft C/C++ compiler warning 4715 */
|
||||
#if (_MSC_VER > 1200)
|
||||
#if defined(_MSC_VER) && (_MSC_VER > 1200)
|
||||
# define DEFAULT_UNREACHABLE default: __assume(0)
|
||||
#else
|
||||
# define DEFAULT_UNREACHABLE
|
||||
|
|
Loading…
Reference in New Issue