diff --git a/libselinux/src/procattr.c b/libselinux/src/procattr.c index 7efcd7e1..8cd59af5 100644 --- a/libselinux/src/procattr.c +++ b/libselinux/src/procattr.c @@ -22,7 +22,7 @@ static pthread_key_t destructor_key; static int destructor_key_initialized = 0; static __thread char destructor_initialized; -#ifndef ANDROID +#ifndef __ANDROID__ /* Android declares this in unistd.h and has a definition for it */ static pid_t gettid(void) {