Fix compiler warning building with GCC on Windows

C:\Python37\Include/pyconfig.h:360:5: warning: "_MSC_VER" is not defined, evaluates to 0 [-Wundef]
 #if _MSC_VER >= 1800
This commit is contained in:
Andoni Morales Alastruey 2020-04-17 16:59:51 +02:00
parent 485e715cb1
commit dfb8a4b955
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#define HAVE_COPYSIGN 1
/* Define to 1 if you have the `round' function. */
#if _MSC_VER >= 1800
#if defined(_MSC_VER) && _MSC_VER >= 1800
#define HAVE_ROUND 1
#endif