aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-08 08:23:32 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-08 08:23:32 +0000
commit179a2c1971e615ef408b3e2d32432b29325faf5b (patch)
treebe335fb7949674c483726c0715a523aa382750b8 /osdep.c
parentd5575a38b65a0e18e8e0fd6fa976af5bd15b9219 (diff)
Rename _BSD to HOST_BSD so that it's more obvious that it's defined by configure
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6775 c046a42c-6fe2-441c-8c8c-71466251a162
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 c34dfd2682..a583d77a0a 100644
--- a/osdep.c
+++ b/osdep.c
@@ -33,13 +33,13 @@
#include <sys/statvfs.h>
#endif
-/* Needed early for _BSD etc. */
+/* Needed early for HOST_BSD etc. */
#include "config-host.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-#elif defined(_BSD)
+#elif defined(HOST_BSD)
#include <stdlib.h>
#else
#include <malloc.h>
@@ -188,7 +188,7 @@ void *qemu_memalign(size_t alignment, size_t size)
if (ret != 0)
return NULL;
return ptr;
-#elif defined(_BSD)
+#elif defined(HOST_BSD)
return valloc(size);
#else
return memalign(alignment, size);