Amaury Forgeot d'Arc  committed 60130da

Fix a crash in some module/thread test.

  • Participants
  • Parent commits 5bd32c5
  • Branches remove-PYPY_NOT_MAIN_FILE

Comments (0)

Files changed (1)

File pypy/translator/c/src/thread.c

 /* 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"