aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:56 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:20 -0500
commit71e72a19bafda97c9e97b089499fdc050e96a631 (patch)
treefdd6ebb4dd37e6aef7c80db2d6a1231fcad9fa3d /osdep.c
parent43da3c088c00a1113643abb0c70379140de39dd8 (diff)
downloadqemu-71e72a19bafda97c9e97b089499fdc050e96a631.zip
qemu-71e72a19bafda97c9e97b089499fdc050e96a631.tar.gz
qemu-71e72a19bafda97c9e97b089499fdc050e96a631.tar.bz2
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep.c b/osdep.c
index b2e3b41..bbfa976 100644
--- a/osdep.c
+++ b/osdep.c
@@ -36,12 +36,12 @@
/* FIXME: This file should be target independent. However it has kqemu
hacks, so must be built for every target. */
-/* Needed early for HOST_BSD etc. */
+/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
#ifdef _WIN32
#include <windows.h>
-#elif defined(HOST_BSD)
+#elif defined(CONFIG_BSD)
#include <stdlib.h>
#else
#include <malloc.h>
@@ -210,7 +210,7 @@ void *qemu_memalign(size_t alignment, size_t size)
if (ret != 0)
abort();
return ptr;
-#elif defined(HOST_BSD)
+#elif defined(CONFIG_BSD)
return oom_check(valloc(size));
#else
return oom_check(memalign(alignment, size));