X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fpthread_support.c;h=097d588a7b55fd77569d2def2b9e80348068085c;hb=30cddad5fb4c3d290906a6e6c33ecd8b07d8b48c;hp=623a94e7c8c22fb4c670d9fbff4e12869e087ee9;hpb=2dc628d36f9ebd44d25126bfba00cffc6c2df8e4;p=mono.git diff --git a/libgc/pthread_support.c b/libgc/pthread_support.c index 623a94e7c8c..097d588a7b5 100644 --- a/libgc/pthread_support.c +++ b/libgc/pthread_support.c @@ -205,7 +205,7 @@ static GC_key_t GC_thread_key; #ifdef USE_COMPILER_TLS -__thread MONO_TLS_FAST void* GC_thread_tls; +__thread void* GC_thread_tls; /* * gcc errors out with /tmp/ccdPMFuq.s:2994: Error: symbol `.LTLS4' is already defined @@ -764,7 +764,7 @@ GC_thread GC_new_thread(pthread_t id) } if (result == 0) return(0); result -> id = id; -#ifdef PLATFORM_ANDROID +#ifdef HOST_ANDROID result -> kernel_id = gettid(); #endif result -> next = GC_threads[hv];