Permalink
Browse files

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.
  • Loading branch information...
brammool committed Mar 24, 2018
1 parent 75b0a88 commit 16d7eced1a08565a9837db8067c7b9db5ed68854
Showing with 2 additions and 5 deletions.
  1. +0 −5 src/if_python3.c
  2. +2 −0 src/version.c
@@ -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
@@ -766,6 +766,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1635,
/**/
1634,
/**/

0 comments on commit 16d7ece

Please sign in to comment.