#include "gdbcore.h"
#include "target.h"
#include "wait.h"
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
#else
#include <varargs.h>
/* Send data to stdebug. Works just like printf. */
static void
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
printf_stdebug(char *pattern, ...)
#else
printf_stdebug(va_alist)
va_list args;
char buf[200];
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
va_start(args, pattern);
#else
char *pattern;