mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
rename HOST_BSD to CONFIG_BSD
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
43da3c088c
commit
71e72a19ba
12 changed files with 22 additions and 22 deletions
6
osdep.c
6
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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue