sim-card
/
qemu
Archived
10
0
Fork 0

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:
Juha Riihimäki 2009-12-03 15:56:02 +02:00 committed by Aurelien Jarno
parent 2dc3f77c86
commit 1e8b27ca85
1 changed files with 4 additions and 0 deletions

4
exec.c
View File

@ -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;