mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
va_list is defined in stdarg.h.
This commit is contained in:
parent
e5006ebc9d
commit
cecd9e0af3
@ -116,6 +116,7 @@ extern DL_IMPORT(PyObject *) PyErr_ProgramText(char *, int);
|
||||
# define vsnprintf _vsnprintf
|
||||
#endif
|
||||
#ifndef HAVE_SNPRINTF
|
||||
#include <stdarg.h>
|
||||
extern DL_IMPORT(int) PyOS_snprintf(char *str, size_t size, const char *format, ...);
|
||||
extern DL_IMPORT(int) PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user