~ chicken-core (chicken-5) b4de0398adb5ff5cb87135753d47641ce18b5e8a
commit b4de0398adb5ff5cb87135753d47641ce18b5e8a
Author: Peter Bex <peter.bex@xs4all.nl>
AuthorDate: Sun Oct 5 20:46:29 2014 +0200
Commit: Peter Bex <peter.bex@xs4all.nl>
CommitDate: Sun Oct 5 21:57:55 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