mirror of
https://github.com/anope/anope.git
synced 2026-07-04 04:23:12 +02:00
BUILD : 1.7.13 (956) BUGS : NOTES : applied patch provided by trystan
git-svn-id: svn://svn.anope.org/anope/trunk@956 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@683 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
d86dddd6e7
commit
0dc104f20d
@@ -1343,4 +1343,24 @@ E void eventprintf(char *fmt, ...);
|
||||
E void event_process_hook(char *name, int argc, char **argv);
|
||||
E void send_event(char *name, int argc, ...);
|
||||
|
||||
#ifndef va_copy
|
||||
# ifdef __va_copy
|
||||
# define VA_COPY(DEST,SRC) __va_copy((DEST),(SRC))
|
||||
# else
|
||||
# define VA_COPY(DEST, SRC) memcpy ((&DEST), (&SRC), sizeof(va_list))
|
||||
# endif
|
||||
#else
|
||||
# ifdef HAVE_VA_LIST_AS_ARRAY
|
||||
# define VA_COPY(DEST,SRC) va_copy(*(DEST) = *(SRC))
|
||||
# else
|
||||
# define VA_COPY(DEST, SRC) va_copy(DEST, SRC)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef __STRICT_ANSI__
|
||||
#ifndef fileno
|
||||
int fileno(FILE *stream);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* EXTERN_H */
|
||||
|
||||
Reference in New Issue
Block a user