freebsd-ports/www/mozilla-devel/files/patch-nsprpub-pr-src-io-prprf.c
Joe Marcus Clarke fd24afcf77 Update to 1.7.b
* Re-add OPTIONS support reorganizing the Makefile some
* Enable Kerberos/GSSAPI support (please test)
* Enable optional smb:// URI support through gnomevfs2

For a list of all the changes in 1.7 beta, please see:

http://www.mozilla.org/releases/mozilla1.7b/README.html#new
2004-03-20 07:39:26 +00:00

14 lines
583 B
C

--- nsprpub/pr/src/io/prprf.c.orig Mon Mar 8 22:18:19 2004
+++ nsprpub/pr/src/io/prprf.c Fri Mar 19 15:26:55 2004
@@ -51,7 +51,10 @@
** Note: on some platforms va_list is defined as an array,
** and requires array notation.
*/
-#if (defined(LINUX) && defined(__x86_64__))
+#if defined(__amd64__)
+#include <stdarg.h>
+#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar))
+#elif (defined(LINUX) && defined(__x86_64__))
#define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
#elif (defined(LINUX) && defined(__powerpc__)) || \
(defined(LINUX) && defined(__s390__)) || \