Author: Amaury Forgeot d'Arc <[email protected]>
Branch: remove-PYPY_NOT_MAIN_FILE
Changeset: r57762:60130da446c6
Date: 2012-10-03 10:33 +0200
http://bitbucket.org/pypy/pypy/changeset/60130da446c6/

Log:    Fix a crash in some module/thread test.

diff --git a/pypy/translator/c/src/thread.c b/pypy/translator/c/src/thread.c
--- a/pypy/translator/c/src/thread.c
+++ b/pypy/translator/c/src/thread.c
@@ -1,6 +1,12 @@
 /* Thread implementation */
 #include "src/thread.h"
 
+/* The following include is required by the Boehm GC, which apparently
+ * crashes where pthread_create() is not redefined to call a Boehm
+ * wrapper function instead.  Ugly.
+ */
+#include "common_header.h"
+
 #ifdef _WIN32
 #include "src/thread_nt.c"
 #else
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to