mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
More order with log_quiet and ifdef GEKKO
This commit is contained in:
parent
ee727e3dfb
commit
ca4787e8b8
@ -39,14 +39,16 @@ void set_logfile (const char *logfile_name)
|
||||
}
|
||||
}
|
||||
|
||||
int log_quiet = 0;
|
||||
|
||||
void write_log (const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start (ap, fmt);
|
||||
#ifdef HAVE_VFPRINTF
|
||||
|
||||
#ifdef GEKKO
|
||||
extern int log_quiet;
|
||||
if (!log_quiet)
|
||||
#endif
|
||||
#ifdef HAVE_VFPRINTF
|
||||
vfprintf (logfile ? logfile : stderr, fmt, ap);
|
||||
#else
|
||||
/* Technique stolen from GCC. */
|
||||
|
Loading…
Reference in New Issue
Block a user