diff options
Diffstat (limited to 'libgc/include')
-rw-r--r-- | libgc/include/private/gcconfig.h | 4 | ||||
-rw-r--r-- | libgc/include/private/pthread_support.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h index 3cbab919b94..03305b61de0 100644 --- a/libgc/include/private/gcconfig.h +++ b/libgc/include/private/gcconfig.h @@ -733,7 +733,7 @@ # if defined(__GLIBC__)&& __GLIBC__>=2 # define SEARCH_FOR_DATA_START # else /* !GLIBC2 */ -# if defined(PLATFORM_ANDROID) +# if defined(HOST_ANDROID) # define __environ environ # endif extern char **__environ; @@ -1965,7 +1965,7 @@ # include <features.h> # if defined(__GLIBC__) && __GLIBC__ >= 2 # define SEARCH_FOR_DATA_START -# elif defined(PLATFORM_ANDROID) +# elif defined(HOST_ANDROID) # define SEARCH_FOR_DATA_START # else extern char **__environ; diff --git a/libgc/include/private/pthread_support.h b/libgc/include/private/pthread_support.h index bcb89b6a198..0abbd242a85 100644 --- a/libgc/include/private/pthread_support.h +++ b/libgc/include/private/pthread_support.h @@ -45,7 +45,7 @@ typedef struct GC_Thread_Rep { /* guaranteed to be dead, but we may */ /* not yet have registered the join.) */ pthread_t id; -#ifdef PLATFORM_ANDROID +#ifdef HOST_ANDROID pid_t kernel_id; #endif /* Extra bookkeeping information the stopping code uses */ |