diff options
author | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2018-03-19 14:40:44 +0100 |
---|---|---|
committer | Angelo Mantellini <angelo.mantellini@irt-systemx.fr> | 2018-03-19 14:44:07 +0100 |
commit | bd286fc5db5d1703743bd5c24944ebd0d97345df (patch) | |
tree | 53541c13fc2eafc3470da1394abb3fee23608d4b /libparc | |
parent | b490e2411a848940b1055debcb40f75a1921090e (diff) |
correct ANDROID definition (from _ANDROID_ to __ANDROID__)
Change-Id: Ia6ef5e0901a03207c5150a6ef3f293bb674373a5
Signed-off-by: Angelo Mantellini <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'libparc')
-rw-r--r-- | libparc/parc/algol/parc_Network.h | 2 | ||||
-rw-r--r-- | libparc/parc/algol/parc_Object.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libparc/parc/algol/parc_Network.h b/libparc/parc/algol/parc_Network.h index 58b8b1f3..efd5e632 100644 --- a/libparc/parc/algol/parc_Network.h +++ b/libparc/parc/algol/parc_Network.h @@ -32,7 +32,7 @@ #define INPORT_ANY 0 #endif -#ifdef _ANDROID_ +#ifdef __ANDROID__ typedef uint16_t in_port_t; #endif diff --git a/libparc/parc/algol/parc_Object.c b/libparc/parc/algol/parc_Object.c index cd8acd45..578f1e1a 100644 --- a/libparc/parc/algol/parc_Object.c +++ b/libparc/parc/algol/parc_Object.c @@ -783,7 +783,7 @@ parcObject_Unlock(const PARCObject *object) bool parcObject_Lock(const PARCObject *object) { -#ifndef _ANDROID_ +#ifndef __ANDROID__ extern int errno; #endif bool result = false; |