From dc786bc9103801fac5b90511b0761255b4eab622 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Tue, 26 Oct 2010 10:39:23 +0200 Subject: Move qemu_gettimeofday() to OS specific files Signed-off-by: Jes Sorensen Signed-off-by: Blue Swirl --- qemu-common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qemu-common.h') diff --git a/qemu-common.h b/qemu-common.h index 3496e4f5bb..5555226f0a 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -170,6 +170,11 @@ const char *path(const char *pathname); #define qemu_isascii(c) isascii((unsigned char)(c)) #define qemu_toascii(c) toascii((unsigned char)(c)) +#ifdef _WIN32 +/* ffs() in oslib-win32.c for WIN32, strings.h for the rest of the world */ +int ffs(int i); +#endif + void *qemu_malloc(size_t size); void *qemu_realloc(void *ptr, size_t size); void *qemu_mallocz(size_t size); -- cgit v1.2.3