~ chicken-core (chicken-5) 72c5e04f3810ae24b3dff6ce9274744378c24e86


commit 72c5e04f3810ae24b3dff6ce9274744378c24e86
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: Tue Oct 7 22:23:04 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 3ae614a0..7ccbb846 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