From 55f28eb71a4671c78ee9b86bd85c43bce86073ad Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:12:40 +0200 Subject: change HOST_SOLARIS to CONFIG_SOLARIS{_VERSION} Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- osdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'osdep.c') diff --git a/osdep.c b/osdep.c index 410e43681b..b2e3b41672 100644 --- a/osdep.c +++ b/osdep.c @@ -28,7 +28,7 @@ #include #include #include -#ifdef HOST_SOLARIS +#ifdef CONFIG_SOLARIS #include #include #endif @@ -116,7 +116,7 @@ static void *kqemu_vmalloc(size_t size) int map_anon = 0; const char *tmpdir; char phys_ram_file[1024]; -#ifdef HOST_SOLARIS +#ifdef CONFIG_SOLARIS struct statvfs stfs; #else struct statfs stfs; @@ -129,7 +129,7 @@ static void *kqemu_vmalloc(size_t size) if (phys_ram_fd < 0) { tmpdir = getenv("QEMU_TMPDIR"); if (!tmpdir) -#ifdef HOST_SOLARIS +#ifdef CONFIG_SOLARIS tmpdir = "/tmp"; if (statvfs(tmpdir, &stfs) == 0) { #else -- cgit v1.2.3