aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlongbow/src/LongBow/longBow_EventType.c2
-rw-r--r--longbow/src/LongBow/longBow_TestCase.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/longbow/src/LongBow/longBow_EventType.c b/longbow/src/LongBow/longBow_EventType.c
index 7a99b0c3..d1c24620 100755
--- a/longbow/src/LongBow/longBow_EventType.c
+++ b/longbow/src/LongBow/longBow_EventType.c
@@ -129,7 +129,7 @@ LongBowEventType LongBowEventSIGPROF = _eventType("Signal", "SIGPROF", LongBowSt
LongBowEventType LongBowEventSIGWINCH = _eventType("Signal", "SIGWINCH", LongBowStatus_SIGNAL(SIGWINCH), false, false);
-#if (!defined (_ANDROID_) && (!defined(_POSIX_C_SOURCE)) || defined(_DARWIN_C_SOURCE))
+#if (!defined (__ANDROID__) && (!defined(_POSIX_C_SOURCE)) || defined(_DARWIN_C_SOURCE))
LongBowEventType LongBowEventSIGINFO = _eventType("Signal", "SIGINFO", LongBowStatus_SIGNAL(SIGINFO), false, false);
#else
LongBowEventType LongBowEventSIGINFO = _eventType("Signal", "SIGIO", LongBowStatus_SIGNAL(SIGIO), false, false);
diff --git a/longbow/src/LongBow/longBow_TestCase.c b/longbow/src/LongBow/longBow_TestCase.c
index ca506ae8..3b487905 100644
--- a/longbow/src/LongBow/longBow_TestCase.c
+++ b/longbow/src/LongBow/longBow_TestCase.c
@@ -475,7 +475,7 @@ _longBowTestCase_RunForked(LongBowTestCase *testCase)
// results of the test that was run in a separate process.
int waitStatus;
struct rusage rusage;
-#ifndef _ANDROID_
+#ifndef __ANDROID__
wait3(&waitStatus, 0, &rusage);
#else
wait4(-1, &waitStatus, 0, &rusage);