From: Bram Moolenaar Date: Sat, 24 Mar 2018 13:06:15 +0000 (+0100) Subject: patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 X-Git-Tag: v8.0.1635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16d7eced1a08565a9837db8067c7b9db5ed68854;p=vim patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah Bucy, closes #2748) Solution: Remove the lines. --- diff --git a/src/if_python3.c b/src/if_python3.c index 02d913492..59c115dd8 100644 --- 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 index ca668c1b4..b2959e30a 100644 --- a/src/version.c +++ b/src/version.c @@ -766,6 +766,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1635, /**/ 1634, /**/