summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2003-07-22 15:20:49 (GMT)
committerJason Tishler <jason@tishler.net>2003-07-22 15:20:49 (GMT)
commitfac083d14a94137999559d895a4e6d1d9a2ea74c (patch)
treeae15f57f500e06cd70eaa2996a0eedec3d551d33 /pyconfig.h.in
parent5d6ceb4aaebc699f30bf26367a15255e4efc2bcd (diff)
downloadcpython-fac083d14a94137999559d895a4e6d1d9a2ea74c.zip
cpython-fac083d14a94137999559d895a4e6d1d9a2ea74c.tar.gz
cpython-fac083d14a94137999559d895a4e6d1d9a2ea74c.tar.bz2
Patch 775605: Cygwin pthread_sigmask() workaround patch
Cygwin's pthread_sigmask() implementation appears to be buggy. This patch works around this problem by using sigprocmask() instead. This patch is implemented in a general way so it could be used by other platforms too. If this approach is deemed too risky, then I can work up a patch that just hacks Python/thread_pthread.h for Cygwin. Note that I tested this patch against 2.3c1 under Red Hat Linux 8.0 too. [snip] And finally, I need someone to regenerate pyconfig.h.in and configure with the same versions of the autotools that are normally used by Python. Neal kindly regenerated pyconfig.h.in and configure for me.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 0a58278..dacd304 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -47,6 +47,9 @@
/* Define if the Posix semaphores do not work on your system */
#undef HAVE_BROKEN_POSIX_SEMAPHORES
+/* Define if pthread_sigmask() does not work on your system. */
+#undef HAVE_BROKEN_PTHREAD_SIGMASK
+
/* Define to 1 if you have the `chown' function. */
#undef HAVE_CHOWN
@@ -829,9 +832,6 @@
/* Define on NetBSD to activate all library features */
#undef _NETBSD_SOURCE
-/* Define on FreeBSD to activate all library features */
-#undef __BSD_VISIBLE
-
/* Define _OSF_SOURCE to get the makedev macro. */
#undef _OSF_SOURCE
@@ -857,6 +857,9 @@
/* Define to activate Unix95-and-earlier features */
#undef _XOPEN_SOURCE_EXTENDED
+/* Define on FreeBSD to activate all library features */
+#undef __BSD_VISIBLE
+
/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__