diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-08 08:23:32 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-08 08:23:32 +0000 |
commit | 179a2c1971e615ef408b3e2d32432b29325faf5b (patch) | |
tree | be335fb7949674c483726c0715a523aa382750b8 /net.c | |
parent | d5575a38b65a0e18e8e0fd6fa976af5bd15b9219 (diff) | |
download | qemu-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 'net.c')
-rw-r--r-- | net.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ #include <sys/time.h> #include <zlib.h> -/* Needed early for _BSD etc. */ +/* Needed early for HOST_BSD etc. */ #include "config-host.h" #ifndef _WIN32 @@ -52,7 +52,7 @@ #include <dirent.h> #include <netdb.h> #include <sys/select.h> -#ifdef _BSD +#ifdef HOST_BSD #include <sys/stat.h> #if defined(__FreeBSD__) || defined(__DragonFly__) #include <libutil.h> @@ -769,7 +769,7 @@ static TAPState *net_tap_fd_init(VLANState *vlan, return s; } -#if defined (_BSD) || defined (__FreeBSD_kernel__) +#if defined (HOST_BSD) || defined (__FreeBSD_kernel__) static int tap_open(char *ifname, int ifname_size) { int fd; |