mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
va_list is defined in stdarg.h.
This commit is contained in:
parent
e5006ebc9d
commit
cecd9e0af3
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue