044f6ef104
When code is compiled within the Android tree, the resulting binaries are intended to run either on the "host" (the machine doing the building) or the "target" (the machine running the Android operating system). "ANDROID" is defined if the code is being compiled for the host or the target, whereas "__ANDROID__" is only defined for code being compiled for the target. (yes, I agree, this is not obvious). gettid() is only declared in the target environment, not the host environment, so adjust the #ifdef to properly emit the gettid() definition for binaries targeting the host. Signed-off-by: Nick Kralevich <nnk@google.com> |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
LICENSE | ||
Makefile | ||
VERSION |