diff options
-rw-r--r-- | tools/perf/compat-android.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/compat-android.h b/tools/perf/compat-android.h index b76adae2773..7604a22c6cf 100644 --- a/tools/perf/compat-android.h +++ b/tools/perf/compat-android.h @@ -64,6 +64,9 @@ typedef uint64_t u64; #define __le32 uint32_t #endif +/* No TLS yet... This is not exactly right, but good enough to get us going */ +#define __thread + #ifndef FD_SET #define FD_SET(fd, fdsetp) (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd) & 31))) #define FD_ZERO(fdsetp) (memset (fdsetp, 0, sizeof (*(fd_set *)(fdsetp)))) |