diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-25 19:34:19 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-25 19:34:19 (GMT) |
commit | 64ba60aa57fd65d3107787cde6bb2f988e7e1c53 (patch) | |
tree | 13c13c9f0660b906eb785b3d976206c2fe9fff82 | |
parent | 88a1977a087bba87b07b2dc94269539108da300d (diff) | |
download | cpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.zip cpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.tar.gz cpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.tar.bz2 |
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | PC/pyconfig.h | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -180,6 +180,9 @@ Library Build ----- +- Issue #21958: Define HAVE_ROUND when building with Visual Studio 2013 and + above. Patch by Zachary Turner. + - Issue #15759: "make suspicious", "make linkcheck" and "make doctest" in Doc/ now display special message when and only when there are failures. diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 5a6acfc..e1c1988 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -436,6 +436,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */ /* Define to 1 if you have the `copysign' function. */ #define HAVE_COPYSIGN 1 +/* Define to 1 if you have the `round' function. */ +#if _MSC_VER >= 1800 +#define HAVE_ROUND 1 +#endif + /* Define to 1 if you have the `isinf' macro. */ #define HAVE_DECL_ISINF 1 |