1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/irc/ircd-ru/files/patch-ircsprintf.h
Martin Wilke 5d38e8aace - Forget patchset to committen
Submitted by:	Andrey V. Elsukov (maintainer via privat mail)
2006-12-30 21:25:22 +00:00

14 lines
390 B
C

--- include/ircsprintf.h.orig Wed Dec 27 21:28:44 2006
+++ include/ircsprintf.h Wed Dec 27 21:29:34 2006
@@ -3,6 +3,10 @@
#include <stdarg.h>
#include <stdio.h>
+#ifndef va_copy
+#define va_copy(a1, a2) (a1) = (a2)
+#endif
+
/* define this if you intend to use ircsnprintf or ircvsnprintf */
/* It's not used, and sNprintf functions are not in all libraries */
#define WANT_SNPRINTF