summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-24 14:06:15 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-24 14:06:15 +0100
commit16d7eced1a08565a9837db8067c7b9db5ed68854 (patch)
treea8f26d8d1bfe4d0d62442682ca394d6ca5e8614c /src/if_python3.c
parent75b0a888e41bcda4163072f41bb7b5471fef7651 (diff)
patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3v8.0.1635
Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah Bucy, closes #2748) Solution: Remove the lines.
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index 02d913492c..59c115dd8d 100644
--- a/src/if_python3.c
+++ b/src/if_python3.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