diff --git a/nsprpub/pr/src/io/prprf.c b/nsprpub/pr/src/io/prprf.c index c2c126791d7..1da92e848f8 100644 --- a/nsprpub/pr/src/io/prprf.c +++ b/nsprpub/pr/src/io/prprf.c @@ -35,7 +35,8 @@ ** Note: on some platforms va_list is defined as an array, ** and requires array notation. */ -#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16) || defined(QNX) +#if (defined(LINUX) && defined(__powerpc__)) || defined(WIN16) || \ + defined(QNX) || (defined(__NetBSD__) && defined(__powerpc__)) #define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0] #else #define VARARGS_ASSIGN(foo, bar) (foo) = (bar)