changeset 13523:eafe575966ff v8.0.1635

patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 commit https://github.com/vim/vim/commit/16d7eced1a08565a9837db8067c7b9db5ed68854 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 24 14:06:15 2018 +0100 patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah Bucy, closes https://github.com/vim/vim/issues/2748) Solution: Remove the lines.
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Mar 2018 14:15:08 +0100
parents b0224f159492
children 80a30c002995
files src/if_python3.c src/version.c
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -34,11 +34,6 @@
 
 #include <limits.h>
 
-/* Python.h defines _POSIX_THREADS itself (if needed) */
-#ifdef _POSIX_THREADS
-# undef _POSIX_THREADS
-#endif
-
 #if defined(_WIN32) && defined(HAVE_FCNTL_H)
 # undef HAVE_FCNTL_H
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1635,
+/**/
     1634,
 /**/
     1633,