On second though, NEXITFUNCS should be defined here and not in
pystate.h; pystate.h doesn't use it (I thought I wanted to move the
array there but that won't work).
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 2423465..2be073b 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1035,7 +1035,7 @@
 int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
 #endif
 
-/* NEXITFUNCS is defined in pystate.h */
+#define NEXITFUNCS 32
 static void (*exitfuncs[NEXITFUNCS])();
 static int nexitfuncs = 0;