mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-24 09:06:21 -04:00
tests: Fix building tests on NetBSD by providing is_debugger_attached
Signed-off-by: Nia Alarie <nia@NetBSD.org>
This commit is contained in:
parent
01cbf0981b
commit
5efad9cfea
1 changed files with 7 additions and 0 deletions
|
|
@ -308,6 +308,13 @@ is_debugger_attached(void)
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static int
|
||||||
|
is_debugger_attached(void)
|
||||||
|
{
|
||||||
|
/* 0=debugger can't be determined */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue