diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-10-05 01:47:34 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-10-05 01:47:34 +0000 |
commit | 60bdaa6f6acf6009f45a3c3962ca7ed0b399aa0c (patch) | |
tree | 31d8a70ea109f5c115c0be178cc97401a141215c /Python/pythonrun.c | |
parent | 948e7d7a48b6607c3a0fbacf47fb28cb8d7bc82b (diff) | |
download | cpython-60bdaa6f6acf6009f45a3c3962ca7ed0b399aa0c.tar.gz |
s/_alloca/alloca/g; Windows doesn't need the former, at least not unless
__STDC__ is defined (or something like that ...).
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 28a8e28e11..80a3157804 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1450,9 +1450,9 @@ int PyOS_CheckStack(void) { __try { - /* _alloca throws a stack overflow exception if there's + /* alloca throws a stack overflow exception if there's not enough space left on the stack */ - _alloca(PYOS_STACK_MARGIN * sizeof(void*)); + alloca(PYOS_STACK_MARGIN * sizeof(void*)); return 0; } __except (EXCEPTION_EXECUTE_HANDLER) { /* just ignore all errors */ |