aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-25 14:47:29 -0500
committerZachary Ware <zachary.ware@gmail.com>2014-07-25 14:47:29 -0500
commit54701f303fdde38c53811776ba2d16fabf219dcc (patch)
tree94ff5a9ec6ad68cf51a268b4b6c81a8672733666 /PC/pyconfig.h
parentIssue #18093: Create Programs directory in build location for (diff)
parentIssue #21958: Define HAVE_ROUND when building with VS 2013 and above. (diff)
downloadcpython-54701f303fdde38c53811776ba2d16fabf219dcc.tar.gz
cpython-54701f303fdde38c53811776ba2d16fabf219dcc.tar.bz2
cpython-54701f303fdde38c53811776ba2d16fabf219dcc.zip
Issue #21958: Merge with 3.4
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 e82e6e9047a..49c25997b5a 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