[LTP] [PATCH v1] rt_tgsigqueueinfo01.c: replace definition ANDROID with __ANDROID__

Zhengwang Ruan ruanzw@xiaopeng.com
Thu Apr 11 16:26:19 CEST 2019


Replace the incorrect definition of ANDROID with __ANDROID__.

Signed-off-by: Zhengwang Ruan <ruanzw@xiaopeng.com>
---
 testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c b/testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c
index c8252ed..bee6a62 100644
--- a/testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c
+++ b/testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c
@@ -25,7 +25,7 @@
 #include "tst_test.h"
 #include "lapi/syscalls.h"
 
-#ifndef ANDROID
+#ifndef __ANDROID__
 #define SI_SIGVAL si_sigval
 #else
 #define SI_SIGVAL _sigval
-- 
2.7.4



More information about the ltp mailing list