]> granicus.if.org Git - vim/commitdiff
patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 v8.0.1635
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Mar 2018 13:06:15 +0000 (14:06 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Mar 2018 13:06:15 +0000 (14:06 +0100)
Problem:    Undefining _POSIX_THREADS causes problems with Python 3. (Micah
            Bucy, closes #2748)
Solution:   Remove the lines.

src/if_python3.c
src/version.c

index 02d913492cf279ae4046f3347f38aa260c73dbb0..59c115dd8db6d569ee03d8219810d6277b810e67 100644 (file)
 
 #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
index ca668c1b48666ffb14a40ba598e39228fc543ce6..b2959e30ad811efdaf5ee37b2d32f3e4b30c2460 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1635,
 /**/
     1634,
 /**/