patches by R. Larice

This commit is contained in:
h_vogt
2010-02-08 21:15:17 +00:00
parent f721fdf782
commit d7d5a38583
7 changed files with 45 additions and 14 deletions
+11 -1
View File
@@ -133,8 +133,18 @@ extern bool out_isatty;
extern void out_init();
#ifndef out_printf
/* don't want to declare it if we have #define'ed it */
#ifdef __GNUC__
#ifdef HAS_WINDOWS
#undef printf
#endif
extern void out_printf(char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
#ifdef HAS_WINDOWS
#define printf p_r_i_n_t_f
#endif
#else
extern void out_printf(char *fmt, ...);
#endif
extern void out_printf();
#endif
extern void out_send();