# HG changeset patch # User Christian Brabandt # Date 1521897308 -3600 # Node ID eafe575966ff21a8a579b0149a86e6be067f48a8 # Parent b0224f159492c85b71dd46c29cf0dfe99d4f00c8 patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 commit https://github.com/vim/vim/commit/16d7eced1a08565a9837db8067c7b9db5ed68854 Author: Bram Moolenaar 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. diff --git a/src/if_python3.c b/src/if_python3.c --- a/src/if_python3.c +++ b/src/if_python3.c @@ -34,11 +34,6 @@ #include -/* 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 diff --git a/src/version.c b/src/version.c --- 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,