diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 18:03:31 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-05 18:03:31 +0000 |
commit | 80d58a9d0179c137a6445a49f402b84d47919479 (patch) | |
tree | 49fd2be4606c99bc88fa603ad18a69d5764d35f0 /misc.c | |
parent | 042da2e63c651040743d682a6dca7aa76f29f851 (diff) | |
download | slirp-80d58a9d0179c137a6445a49f402b84d47919479.zip slirp-80d58a9d0179c137a6445a49f402b84d47919479.tar.gz slirp-80d58a9d0179c137a6445a49f402b84d47919479.tar.bz2 |
Fix some win32 compile warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6984 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -761,7 +761,11 @@ void u_sleep(int usec) void fd_nonblock(int fd) { #ifdef FIONBIO +#ifdef _WIN32 + long opt = 1; +#else int opt = 1; +#endif ioctlsocket(fd, FIONBIO, &opt); #else |