git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@831 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-05-20 13:20:12 +00:00
parent c6a1c22ba6
commit 829309c70c
2 changed files with 13 additions and 9 deletions

13
vl.c
View File

@ -739,6 +739,8 @@ static void host_alarm_handler(int host_signum)
#ifndef _WIN32
#if defined(__linux__)
#define RTC_FREQ 1024
static int rtc_fd;
@ -763,7 +765,16 @@ static int start_rtc_timer(void)
return 0;
}
#endif
#else
static int start_rtc_timer(void)
{
return -1;
}
#endif /* !defined(__linux__) */
#endif /* !defined(_WIN32) */
static void init_timers(void)
{

7
vl.h
View File

@ -50,13 +50,6 @@
#include "cpu.h"
#ifdef _BSD
#define lseek64 lseek
#define ftruncate64 ftruncate
#define mkstemp64 mkstemp
#define MAP_ANONYMOUS MAP_ANON
#endif
#ifndef glue
#define xglue(x, y) x ## y
#define glue(x, y) xglue(x, y)