Skip to content

Commit

Permalink
patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3
Browse files Browse the repository at this point in the history
Problem:    Undefining _POSIX_THREADS causes problems with Python 3. (Micah
            Bucy, closes #2748)
Solution:   Remove the lines.
  • Loading branch information
brammool committed Mar 24, 2018
1 parent 75b0a88 commit 16d7ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/if_python3.c
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1635,
/**/
1634,
/**/
Expand Down

0 comments on commit 16d7ece

Please sign in to comment.