- (dtucker) [defines.h] Add va_copy if we don't already have it, taken from
openbsd-compat/bsd-asprintf.c.
This commit is contained in:
parent
58538d795e
commit
cf5392c2db
|
@ -1,3 +1,7 @@
|
|||
20140611
|
||||
- (dtucker) [defines.h] Add va_copy if we don't already have it, taken from
|
||||
openbsd-compat/bsd-asprintf.c.
|
||||
|
||||
20140610
|
||||
- (dtucker) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
|
||||
regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] Only do NISTP256
|
||||
|
|
10
defines.h
10
defines.h
|
@ -25,7 +25,7 @@
|
|||
#ifndef _DEFINES_H
|
||||
#define _DEFINES_H
|
||||
|
||||
/* $Id: defines.h,v 1.180 2014/05/21 07:06:47 djm Exp $ */
|
||||
/* $Id: defines.h,v 1.181 2014/06/11 19:22:50 dtucker Exp $ */
|
||||
|
||||
|
||||
/* Constants */
|
||||
|
@ -822,4 +822,12 @@ struct winsize {
|
|||
# define arc4random_stir()
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VA_COPY
|
||||
# ifdef HAVE___VA_COPY
|
||||
# define va_copy(dest, src) __va_copy(dest, src)
|
||||
# else
|
||||
# define va_copy(dest, src) (dest) = (src)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _DEFINES_H */
|
||||
|
|
Loading…
Reference in New Issue