mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Use va_copy instead of __va_copy, which is not defined on most architectures.
Noticed by: obrien
This commit is contained in:
parent
6ac051ece6
commit
0fae4ec844
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131686
@ -15,6 +15,8 @@
|
||||
along with this program; if not, write to the Free Software Foundation,
|
||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/* Written by Jim Meyering. */
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
@ -52,8 +54,8 @@ version_etc_va (FILE *stream,
|
||||
{
|
||||
va_list tmp_authors;
|
||||
|
||||
#ifdef __va_copy
|
||||
__va_copy (tmp_authors, authors);
|
||||
#ifdef va_copy
|
||||
va_copy (tmp_authors, authors);
|
||||
#else
|
||||
tmp_authors = authors;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user