summaryrefslogtreecommitdiff
path: root/pr/src/io/prprf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/io/prprf.c')
-rw-r--r--pr/src/io/prprf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pr/src/io/prprf.c b/pr/src/io/prprf.c
index 1da92e84..92856359 100644
--- a/pr/src/io/prprf.c
+++ b/pr/src/io/prprf.c
@@ -36,7 +36,9 @@
** and requires array notation.
*/
#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16) || \
- defined(QNX) || (defined(__NetBSD__) && defined(__powerpc__))
+ defined(QNX) || \
+ (defined(__NetBSD__) && defined(__powerpc__) && \
+ __NetBSD_Version__ < 105000000)
#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
#else
#define VARARGS_ASSIGN(foo, bar) (foo) = (bar)