patched for Windows

This commit is contained in:
h_vogt 2010-02-08 22:17:57 +00:00
parent bf706e9e61
commit d4b80c6ced
1 changed files with 6 additions and 0 deletions

View File

@ -9,7 +9,13 @@ void promptreturn(void);
void out_send(char *string);
#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