~ chicken-core (chicken-5) 0fd4db3d3232639bec9e88961807cae4842ba984
commit 0fd4db3d3232639bec9e88961807cae4842ba984
Author: Peter Bex <peter.bex@xs4all.nl>
AuthorDate: Sun Oct 5 20:46:29 2014 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Sun Oct 5 21:28:39 2014 +0200
Enable debug_mode on Android only for DEBUGBUILDs
Signed-off-by: felix <felix@call-with-current-continuation.org>
diff --git a/runtime.c b/runtime.c
index 5585c9b4..fd3a3bed 100644
--- a/runtime.c
+++ b/runtime.c
@@ -640,7 +640,7 @@ int CHICKEN_initialize(int heap, int stack, int symbols, void *toplevel)
if(chicken_is_initialized) return 1;
else chicken_is_initialized = 1;
-#ifdef __ANDROID__
+#if defined(__ANDROID__) && defined(DEBUGBUILD)
debug_mode = 2;
#endif
Trap