X-Git-Url: http://nitlanguage.org diff --git a/c_src/gc_chooser.c b/c_src/gc_chooser.c index f40a23e..d3854c8 100644 --- a/c_src/gc_chooser.c +++ b/c_src/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 @@ -61,6 +64,7 @@ void nit_gcollect(void) { #ifdef WITH_LIBGC case gc_opt_boehm: GC_gcollect(); break; #endif + default: break; /* nothing can be done */ } }