Revision 6650b710

b/os-win32.c
221 221
    return NULL;
222 222
}
223 223

  
224
void os_set_line_buffering(void)
225
{
226
    setbuf(stdout, NULL);
227
    setbuf(stderr, NULL);
228
}
229

  
224 230
/*
225 231
 * Parse OS specific command line options.
226 232
 * return 0 if option handled, -1 otherwise
b/qemu-os-win32.h
45 45
static inline void os_setup_signal_handling(void) {}
46 46
static inline void os_daemonize(void) {}
47 47
static inline void os_setup_post(void) {}
48
/* Win32 doesn't support line-buffering and requires size >= 2 */
49
static inline void os_set_line_buffering(void) {}
48
void os_set_line_buffering(void);
50 49
static inline void os_set_proc_name(const char *dummy) {}
51 50

  
52 51
#if !defined(EPROTONOSUPPORT)

Also available in: Unified diff