diff options
author | 2009-03-08 08:23:32 +0000 | |
---|---|---|
committer | 2009-03-08 08:23:32 +0000 | |
commit | 179a2c1971e615ef408b3e2d32432b29325faf5b (patch) | |
tree | be335fb7949674c483726c0715a523aa382750b8 /osdep.c | |
parent | target-mips: remove dead code (diff) | |
download | qemu-kvm-179a2c1971e615ef408b3e2d32432b29325faf5b.tar.gz qemu-kvm-179a2c1971e615ef408b3e2d32432b29325faf5b.tar.bz2 qemu-kvm-179a2c1971e615ef408b3e2d32432b29325faf5b.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |