pthreads: do not include `gc.h` on Android
[nit.git] / lib / pthreads / extra.nit
index b5efb1e..416b174 100644 (file)
@@ -24,9 +24,10 @@ intrude import pthreads
 
 in "C" `{
        // TODO protect with: #ifdef WITH_LIBGC
+       #ifndef ANDROID
                #define GC_THREADS
                #include <gc.h>
-       //#endif
+       #endif
 `}
 
 redef extern class NativePthread