From: Alexis Laferrière Date: Mon, 2 Nov 2015 15:13:33 +0000 (-0500) Subject: nitc/android: temporally disable the GC on Android X-Git-Tag: v0.8~101^2~2 X-Git-Url: http://nitlanguage.org nitc/android: temporally disable the GC on Android Signed-off-by: Alexis Laferrière --- diff --git a/clib/gc_chooser.c b/clib/gc_chooser.c index 497cc7e..d3854c8 100644 --- a/clib/gc_chooser.c +++ b/clib/gc_chooser.c @@ -18,6 +18,9 @@ #ifdef ANDROID #include #define PRINT_ERROR(...) ((void)__android_log_print(ANDROID_LOG_WARN, "nit", __VA_ARGS__)) + + // FIXME bring back when the GC is fixed in Android + #undef WITH_LIBGC #else #define PRINT_ERROR(...) ((void)fprintf(stderr, __VA_ARGS__)) #endif diff --git a/src/platform/android.nit b/src/platform/android.nit index 1a6f458..b192d91 100644 --- a/src/platform/android.nit +++ b/src/platform/android.nit @@ -36,7 +36,7 @@ class AndroidPlatform redef fun name do return "android" - redef fun supports_libgc do return true + redef fun supports_libgc do return false redef fun supports_libunwind do return false