summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-25 22:41:21 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:19:18 +0000
commitd2af2719f1469dcb5f93ecdd69cd33aa6799b78a (patch)
treed4d68c273971d3b6a11af14d9a388c3703bce8f9 /perl.h
parent53d3542d62a6150413de482742e24f24b82112a8 (diff)
downloadperl-d2af2719f1469dcb5f93ecdd69cd33aa6799b78a.tar.gz
eliminate PERL_STACK_OVERFLOW_CHECK
This macro is defined as NOOP on all platforms except for MacOS classic, where it was added as a hook to allow for OSes that have a small CPU stack size. Since pp_entersub et al don't actually use the CPU stack, this hook looks misconceived from the beginning. So remove all uses of it in the core.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index 46906aff48..2117e4943e 100644
--- a/perl.h
+++ b/perl.h
@@ -6354,13 +6354,8 @@ expression, but with an empty argument list, like this:
#define PERL_SCRIPT_MODE "r"
#endif
-/*
- * Some operating systems are stingy with stack allocation,
- * so perl may have to guard against stack overflow.
- */
-#ifndef PERL_STACK_OVERFLOW_CHECK
+/* not used. Kept as a NOOP for backcompat */
#define PERL_STACK_OVERFLOW_CHECK() NOOP
-#endif
/*
* Some nonpreemptive operating systems find it convenient to