commit | 64ba60aa57fd65d3107787cde6bb2f988e7e1c53 | [log] [tgz] |
---|---|---|
author | Zachary Ware <zachary.ware@gmail.com> | Fri Jul 25 14:34:19 2014 -0500 |
committer | Zachary Ware <zachary.ware@gmail.com> | Fri Jul 25 14:34:19 2014 -0500 |
tree | 13c13c9f0660b906eb785b3d976206c2fe9fff82 | |
parent | 88a1977a087bba87b07b2dc94269539108da300d [diff] [blame] |
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above. Patch by Zachary Turner.
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 @@ /* 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