tests: Fix building tests on NetBSD by providing is_debugger_attached

Signed-off-by: Nia Alarie <nia@NetBSD.org>
This commit is contained in:
nia 2022-08-08 17:09:14 +02:00
parent 01cbf0981b
commit 5efad9cfea

View file

@ -308,6 +308,13 @@ is_debugger_attached(void)
return rc;
}
#else
static int
is_debugger_attached(void)
{
/* 0=debugger can't be determined */
return 0;
}
#endif
int main(int argc, char *argv[])