diff options
Diffstat (limited to 'testcode/unitldns.c')
| -rw-r--r-- | testcode/unitldns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testcode/unitldns.c b/testcode/unitldns.c index f8409fec71b1..07d001a792e1 100644 --- a/testcode/unitldns.c +++ b/testcode/unitldns.c @@ -207,7 +207,11 @@ rr_test_file(const char* input, const char* check) #define xstr(s) str(s) #define str(s) #s +#ifndef __QNX__ #define SRCDIRSTR xstr(SRCDIR) +#else /* !__QNX__ */ +#define SRCDIRSTR "." +#endif /* __QNX__ */ /** read rrs to and from string, to and from wireformat */ static void |
