From: Florian Krohm Date: Wed, 22 Oct 2014 09:25:03 +0000 (+0000) Subject: Followup to r14646. The symbol TIOCSIG is not necessarily defined, X-Git-Tag: svn/VALGRIND_3_11_0~899 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27df6d48bfee87a2f01dee72f853e4961a9c94c6;p=thirdparty%2Fvalgrind.git Followup to r14646. The symbol TIOCSIG is not necessarily defined, e.g. on s390x with glibc 2.3.4. Modify the testcase to bypass the ioctl call in that case. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14649 --- diff --git a/memcheck/tests/linux/ioctl-tiocsig.c b/memcheck/tests/linux/ioctl-tiocsig.c index 1738066fa0..69c33e4428 100644 --- a/memcheck/tests/linux/ioctl-tiocsig.c +++ b/memcheck/tests/linux/ioctl-tiocsig.c @@ -2,6 +2,8 @@ int main() { +#ifdef TIOCSIG ioctl(9, TIOCSIG, 9); +#endif return 0; }