correct ANDROID definition (from _ANDROID_ to __ANDROID__) 16/11216/1
authorAngelo Mantellini <[email protected]>
Mon, 19 Mar 2018 14:04:13 +0000 (15:04 +0100)
committerAngelo Mantellini <[email protected]>
Mon, 19 Mar 2018 14:04:13 +0000 (15:04 +0100)
Change-Id: Ida869090c853ddf186755580526b82c897772a92
Signed-off-by: Angelo Mantellini <[email protected]>
libccnx-common/ccnx/common/ccnx_KeystoreUtilities.c
libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalStack.c

index 1ae94ef..aac2ddd 100755 (executable)
@@ -186,7 +186,7 @@ ccnxKeystoreUtilities_CreateInHomeDirectory(const char *keystorePassword, int ke
     return params;
 }
 
-#ifdef _ANDROID_
+#ifdef __ANDROID__
 static char *
 getpass(const char *prompt)
 {
index 5490c44..82d973f 100755 (executable)
@@ -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;