summaryrefslogtreecommitdiff
path: root/libguile/stackchk.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-05-15 10:58:24 +0200
committerAndy Wingo <wingo@pobox.com>2011-05-15 15:34:15 +0200
commitb9b9a028042f1d2e2ff4d89c2389ac08549e67ae (patch)
treeff75a71ea4adecee34205baa414ada9ee7c490b1 /libguile/stackchk.c
parent2572c8067310d3cf5fc0dd61672c9bf2b2ac48db (diff)
remove #define STACK_CHECKING from __scm.h.
* libguile/__scm.h: Remove #define STACK_CHECKING and #undef NO_CEVAL_STACK_CHECKING. * libguile/debug.c (scm_debug_options) * libguile/init.c (scm_i_init_guile): * libguile/stackchk.c (scm_report_stack_overflow): * libguile/stackchk.h: Always enable stack checking.
Diffstat (limited to 'libguile/stackchk.c')
-rw-r--r--libguile/stackchk.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libguile/stackchk.c b/libguile/stackchk.c
index 6cfb783b1..7b9b4c428 100644
--- a/libguile/stackchk.c
+++ b/libguile/stackchk.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997, 2000, 2001, 2006, 2008, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997, 2000, 2001, 2006, 2008, 2010, 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -34,7 +34,6 @@
/* {Stack Checking}
*/
-#ifdef STACK_CHECKING
int scm_stack_checking_enabled_p;
SCM_SYMBOL (scm_stack_overflow_key, "stack-overflow");
@@ -65,8 +64,6 @@ scm_report_stack_overflow ()
scm_dynwind_end ();
}
-#endif
-
long
scm_stack_size (SCM_STACKITEM *start)
{