diff options
Diffstat (limited to 'irc/ircd-ru/files/patch-ircsprintf.h')
-rw-r--r-- | irc/ircd-ru/files/patch-ircsprintf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/irc/ircd-ru/files/patch-ircsprintf.h b/irc/ircd-ru/files/patch-ircsprintf.h new file mode 100644 index 000000000000..763500318270 --- /dev/null +++ b/irc/ircd-ru/files/patch-ircsprintf.h @@ -0,0 +1,13 @@ +--- 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 |