summaryrefslogtreecommitdiff
path: root/testcode/unitmsgparse.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:08:07 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-05-22 14:08:07 +0000
commit4dd0a17edce60370304a45f2c40251e09e193bd6 (patch)
treef0cb0f27a9e83b56f8383265413d035ab01926c6 /testcode/unitmsgparse.c
parentec5b94f552d7cb2a9d456c67e9941bcf5e3698bf (diff)
Diffstat (limited to 'testcode/unitmsgparse.c')
-rw-r--r--testcode/unitmsgparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcode/unitmsgparse.c b/testcode/unitmsgparse.c
index a87314019d1f..d65b7dd02de3 100644
--- a/testcode/unitmsgparse.c
+++ b/testcode/unitmsgparse.c
@@ -498,7 +498,11 @@ testfromdrillfile(sldns_buffer* pkt, struct alloc_cache* alloc,
#define xstr(s) str(s)
#define str(s) #s
+#ifndef __QNX__
#define SRCDIRSTR xstr(SRCDIR)
+#else /* !__QNX__ */
+#define SRCDIRSTR "."
+#endif /* __QNX__ */
void msgparse_test(void)
{