mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
Fix win32 log file location
/tmp doesn't exist under win32. Ease the pain of win32 development slightly. From: Juha Riihimäki <juha.riihimaki@nokia.com> Signed-off-by: Riku Voipio <riku.voipio@nokia.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
2dc3f77c86
commit
1e8b27ca85
1 changed files with 4 additions and 0 deletions
4
exec.c
4
exec.c
|
@ -192,7 +192,11 @@ static int io_mem_watch;
|
|||
#endif
|
||||
|
||||
/* log support */
|
||||
#ifdef WIN32
|
||||
static const char *logfilename = "qemu.log";
|
||||
#else
|
||||
static const char *logfilename = "/tmp/qemu.log";
|
||||
#endif
|
||||
FILE *logfile;
|
||||
int loglevel;
|
||||
static int log_append = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue