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
This commit is contained in:
Florian Krohm 2014-10-22 09:25:03 +00:00
parent 65e1eaa7c8
commit 27df6d48bf

View File

@ -2,6 +2,8 @@
int main()
{
#ifdef TIOCSIG
ioctl(9, TIOCSIG, 9);
#endif
return 0;
}