diff options
author | 2011-04-26 16:56:40 +0100 | |
---|---|---|
committer | 2011-04-26 18:48:42 +0000 | |
commit | 19e83f6bdf86f92ee90db77d606affe5b08f8b40 (patch) | |
tree | ff3739d194f016733ca5c8531bc98405545aadc0 /linux-user/strace.c | |
parent | Merge remote-tracking branch 'stefanha/tracing' into staging (diff) | |
download | qemu-19e83f6bdf86f92ee90db77d606affe5b08f8b40.tar.xz qemu-19e83f6bdf86f92ee90db77d606affe5b08f8b40.zip |
configure: Make epoll_create1 test work around SPARC glibc bug
Work around a SPARC glibc bug which caused the epoll_create1 configure
test to wrongly claim that the function was present. Some versions of
SPARC glibc provided the function in the library but didn't declare
it in the include file; the result is that gcc warns about an implicit
declaration but a link succeeds. So we reference the function as a
value rather than a function call to induce a compile time error
if the declaration was not present.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user/strace.c')
0 files changed, 0 insertions, 0 deletions