mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 13:00:03 +08:00
96e88994f8
* mkstemp.c: Include config.h even when not IN_GCC. Wrap header inclusions inside HAVE_*_H macros. Include ansidecl.h when not IN_GCC. * vasprintf.c: Include stdarg.h/varargs.h first. * vprintf.c: Likewise. From-SVN: r22314
16 lines
237 B
C
16 lines
237 B
C
#ifdef __STDC__
|
|
#include <stdarg.h>
|
|
#else
|
|
#include <varargs.h>
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <ansidecl.h>
|
|
#undef vprintf
|
|
int
|
|
vprintf (format, ap)
|
|
const char *format;
|
|
va_list ap;
|
|
{
|
|
return vfprintf (stdout, format, ap);
|
|
}
|