commit | 531396c764d12ca6ec02a4e199350fee1879499a | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Fri Jun 17 13:25:01 2016 +0300 |
committer | Berker Peksag <berker.peksag@gmail.com> | Fri Jun 17 13:25:01 2016 +0300 |
tree | 0ac3177f163f5ab95931947e6f6229e63291063b | |
parent | d4b45cb9ca426df78aee5ceb53b65aa826498186 [diff] [blame] |
Issue #27336: Fix compilation failures --without-threads
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index d5a13fe..e9d3082 100644 --- a/Parser/pgenmain.c +++ b/Parser/pgenmain.c
@@ -38,12 +38,13 @@ } #ifdef WITH_THREAD -/* Functions needed by obmalloc.c */ +/* Needed by obmalloc.c */ int PyGILState_Check(void) { return 1; } +#endif + void _PyMem_DumpTraceback(int fd, const void *ptr) {} -#endif int main(int argc, char **argv)