Use a static inline rather than a macro for __get_tls().
Change-Id: I0e2529c71c444f1d885317f469c386a9a3f37e35
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp
index f90b511..a69b77f 100644
--- a/libc/bionic/ndk_cruft.cpp
+++ b/libc/bionic/ndk_cruft.cpp
@@ -57,9 +57,9 @@
#undef __futex_wait
#define __get_thread __real_get_thread
+#define __get_tls __real_get_tls
#include "pthread_internal.h"
#undef __get_thread
-static inline void** __real_get_tls() { return __get_tls(); }
#undef __get_tls
extern "C" {