From ed721c097187deece705ae663c6bffb1fc107c6d Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Mon, 19 Mar 2018 15:04:13 +0100 Subject: correct ANDROID definition (from _ANDROID_ to __ANDROID__) Change-Id: Ida869090c853ddf186755580526b82c897772a92 Signed-off-by: Angelo Mantellini --- libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c | 2 +- libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c b/libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c index 1ae94ef6..aac2ddd0 100755 --- a/libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c +++ b/libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c @@ -186,7 +186,7 @@ ccnxKeystoreUtilities_CreateInHomeDirectory(const char *keystorePassword, int ke return params; } -#ifdef _ANDROID_ +#ifdef __ANDROID__ static char * getpass(const char *prompt) { diff --git a/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c b/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c index 5490c44d..82d973f0 100755 --- a/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c +++ b/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c @@ -154,7 +154,7 @@ ccnxPortalStack_Ignore(const CCNxPortalStack *portalStack, const CCNxName *name, int ccnxPortalStack_GetErrorCode(const CCNxPortalStack *portalStack) { -#ifndef _ANDROID_ +#ifndef __ANDROID__ extern int errno; #endif return errno; -- cgit 1.2.3-korg