diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-10-05 01:47:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-10-05 01:47:34 (GMT) |
commit | 92e4dd865709f4a4be2b11453ef4de954b8d7b14 (patch) | |
tree | 365dac55fb0f21a8768fc3c02160ca12e98fa5f3 /Python | |
parent | 0f345567fe90a65b3e2c04f1e6c484a25c299ed7 (diff) | |
download | cpython-92e4dd865709f4a4be2b11453ef4de954b8d7b14.zip cpython-92e4dd865709f4a4be2b11453ef4de954b8d7b14.tar.gz cpython-92e4dd865709f4a4be2b11453ef4de954b8d7b14.tar.bz2 |
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')
-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 28a8e28..80a3157 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 */ |