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 | 6d8f29a623f27d72bf1622132f2b2c4084eff9e3 (patch) | |
tree | 9f49bbb4da782747a7b81f98f5705f5377246eb1 /PC | |
parent | 1b5f58d1670852871a9865a7b67e14626561f8d1 (diff) | |
download | cpython-6d8f29a623f27d72bf1622132f2b2c4084eff9e3.zip cpython-6d8f29a623f27d72bf1622132f2b2c4084eff9e3.tar.gz cpython-6d8f29a623f27d72bf1622132f2b2c4084eff9e3.tar.bz2 |
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/pyconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 2b16665..a45d5eb 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -435,6 +435,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 |