diff options
author | Ed Schouten <ed@nuxi.nl> | 2015-08-25 15:24:39 +0200 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2015-08-25 19:15:50 +0300 |
commit | fd36647af1f0337add3031c1a7f95354a4bb2828 (patch) | |
tree | 609a837ddb205c59d785bfdfc9d208332582ee08 /evutil.c | |
parent | 193c7de505039750f973cd2a73c57677e884de9e (diff) | |
download | libevent-fd36647af1f0337add3031c1a7f95354a4bb2828.tar.gz |
Don't use BSD u_* types.
These types are not part of POSIX. As we only use them in a small number
of places, we'd better replace them by C standard types. This makes a
larger part of the code build for CloudABI.
Diffstat (limited to 'evutil.c')
-rw-r--r-- | evutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -313,7 +313,7 @@ evutil_make_socket_nonblocking(evutil_socket_t fd) { #ifdef _WIN32 { - u_long nonblocking = 1; + unsigned long nonblocking = 1; if (ioctlsocket(fd, FIONBIO, &nonblocking) == SOCKET_ERROR) { event_sock_warn(fd, "fcntl(%d, F_GETFL)", (int)fd); return -1; |