Skip to content

Commit 16d7ece

Browse files
committed
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.
1 parent 75b0a88 commit 16d7ece

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/if_python3.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434

3535
#include <limits.h>
3636

37-
/* Python.h defines _POSIX_THREADS itself (if needed) */
38-
#ifdef _POSIX_THREADS
39-
# undef _POSIX_THREADS
40-
#endif
41-
4237
#if defined(_WIN32) && defined(HAVE_FCNTL_H)
4338
# undef HAVE_FCNTL_H
4439
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1635,
769771
/**/
770772
1634,
771773
/**/

0 commit comments

Comments
 (0)