aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-25 14:34:19 -0500
committerZachary Ware <zachary.ware@gmail.com>2014-07-25 14:34:19 -0500
commit64ba60aa57fd65d3107787cde6bb2f988e7e1c53 (patch)
tree13c13c9f0660b906eb785b3d976206c2fe9fff82 /PC/pyconfig.h
parentIssue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor. (diff)
downloadcpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.tar.gz
cpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.tar.bz2
cpython-64ba60aa57fd65d3107787cde6bb2f988e7e1c53.zip
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 5a6acfc364f..e1c19884ae3 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