summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-01-11 11:31:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-01-11 11:31:34 +0000
commitccb2c8b8ab146edc148e377cd6b108da77d1320b (patch)
treeb58534185023feabf06d12fe6445ce3fbc9ebbdb /perl.h
parent52b4506763c1e322f848f17908bebdf7672f168e (diff)
downloadperl-ccb2c8b8ab146edc148e377cd6b108da77d1320b.tar.gz
Introduce macro PERL_MAX_SUB_DEPTH
p4raw-id: //depot/perl@32949
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index fa677cad72..c028bba810 100644
--- a/perl.h
+++ b/perl.h
@@ -919,6 +919,11 @@ EXTERN_C int usleep(unsigned int);
#define PERL_ARENA_SIZE 4080
#endif
+/* Maximum level of recursion */
+#ifndef PERL_MAX_SUB_DEPTH
+#define PERL_MAX_SUB_DEPTH 100
+#endif
+
#endif /* PERL_CORE */
/* We no longer default to creating a new SV for GvSV.