office-gobmx/external/python33/python-3.3.5-vs2013.patch.1
David Ostrovsky 147cb6a2ae Bump python to 3.5
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5
removed build toolchain support for MSVC 2013. Because we still need
to support it, we duplicate the Python directory in externals and
copy old patches and dispatch to this directory for MSVC 2013. Once
the support for MSVC 2013 is dropped on master, this directory can be
removed again.

Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089
Reviewed-on: https://gerrit.libreoffice.org/17352
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-25 08:29:39 +00:00

14 lines
294 B
Diff

-*- Mode:Diff -*-
--- python3/PC/pyconfig.h
+++ python3/PC/pyconfig.h
@@ -602,6 +602,10 @@
/* Define if you have readlink. */
/* #undef HAVE_READLINK */
+#if defined(_MSC_VER) && _MSC_VER >= 1800
+#define HAVE_ROUND
+#endif
+
/* Define if you have select. */
/* #undef HAVE_SELECT */