open_posix_testsuite/conformance/interfaces/sigaddset/4-1.c compiles failed
since b863a0bd, because of ARRAY_SIZE is undefined in open_posix_testsuite.

Signed-off-by: Zeng Linggang <zenglg...@cn.fujitsu.com>
---
 testcases/open_posix_testsuite/include/posixtest.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testcases/open_posix_testsuite/include/posixtest.h 
b/testcases/open_posix_testsuite/include/posixtest.h
index 4980011..df40f56 100644
--- a/testcases/open_posix_testsuite/include/posixtest.h
+++ b/testcases/open_posix_testsuite/include/posixtest.h
@@ -36,3 +36,6 @@
 #define PTS_UNSUPPORTED 4
 #define PTS_UNTESTED    5
 
+#ifndef ARRAY_SIZE
+#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
+#endif
-- 
1.9.3




------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to