From: Charles Briere Date: Mon, 2 Dec 2013 02:00:49 +0000 (-0800) Subject: Cleanup: Android: Do not redefine gettid X-Git-Tag: v0.9.0~121 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=6bbcdc421d5614038a1dc8c5645c334372762087;hp=6bbcdc421d5614038a1dc8c5645c334372762087;p=userspace-rcu.git Cleanup: Android: Do not redefine gettid When compiling with Android Toolchain, gettid is already defined in and therefore doesn't need to be reimplemented. This patch checks for gettid instead of looking for Android in case other environements behave the same way. Signed-off-by: Charles Briere Signed-off-by: Mathieu Desnoyers ---