Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 54701f3

Browse files
committed
Issue #21958: Merge with 3.4
2 parents 0db50cf + 64ba60a commit 54701f3

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ IDLE
664664
Build
665665
-----
666666

667+
- Issue #21958: Define HAVE_ROUND when building with Visual Studio 2013 and
668+
above. Patch by Zachary Turner.
669+
667670
- Issue #18093: the programs that embed the CPython runtime are now in a
668671
separate "Programs" directory, rather than being kept in the Modules
669672
directory.

PC/pyconfig.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
436436
/* Define to 1 if you have the `copysign' function. */
437437
#define HAVE_COPYSIGN 1
438438

439+
/* Define to 1 if you have the `round' function. */
440+
#if _MSC_VER >= 1800
441+
#define HAVE_ROUND 1
442+
#endif
443+
439444
/* Define to 1 if you have the `isinf' macro. */
440445
#define HAVE_DECL_ISINF 1
441446

0 commit comments

Comments
 (0)