From 60bdaa6f6acf6009f45a3c3962ca7ed0b399aa0c Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 5 Oct 2002 01:47:34 +0000 Subject: s/_alloca/alloca/g; Windows doesn't need the former, at least not unless __STDC__ is defined (or something like that ...). --- Python/pythonrun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/pythonrun.c') 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 */ -- cgit v1.2.1