[gnome-games] aisleriot: Fix build when GUILE_DEBUG is not defined
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: Fix build when GUILE_DEBUG is not defined
- Date: Mon, 17 Aug 2009 20:49:24 +0000 (UTC)
commit aae2bb8aca8f40a55ba39ebc4ba79129c688f95b
Author: Christian Persch <chpe gnome org>
Date: Mon Aug 17 22:48:03 2009 +0200
aisleriot: Fix build when GUILE_DEBUG is not defined
aisleriot/game.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/aisleriot/game.c b/aisleriot/game.c
index b4bc4e2..41fa42d 100644
--- a/aisleriot/game.c
+++ b/aisleriot/game.c
@@ -1007,11 +1007,13 @@ scm_delayed_call (SCM callback)
static void
cscm_init (void)
{
+#ifdef GUILE_DEBUG
/* Enable useful debugging options. */
SCM_DEVAL_P = 1;
SCM_BACKTRACE_P = 1;
SCM_RECORD_POSITIONS_P = 1;
SCM_RESET_DEBUG_MODE;
+#endif
/* Let the scheme side of things know about our C functions. */
scm_c_define_gsubr ("set-feature-word!", 1, 0, 0, scm_set_feature_word);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]