File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,16 +150,16 @@ pub const SOL_CONFIG: c_uint = 65534;
150150pub const PTHREAD_STACK_MIN : size_t = 4096 ;
151151pub const WNOHANG : c_int = 1 ;
152152
153- pub const POLLIN : c_short = 0x0001 ;
154- pub const POLLPRI : c_short = 0x0002 ;
155- pub const POLLOUT : c_short = 0x0004 ;
156- pub const POLLRDNORM : c_short = 0x0040 ;
157- pub const POLLWRNORM : c_short = POLLOUT ;
158- pub const POLLRDBAND : c_short = 0x0080 ;
159- pub const POLLWRBAND : c_short = 0x0100 ;
160- pub const POLLERR : c_short = 0x0008 ;
161- pub const POLLHUP : c_short = 0x0010 ;
162- pub const POLLNVAL : c_short = 0x0020 ;
153+ pub const POLLIN : c_int = 0x0001 ;
154+ pub const POLLPRI : c_int = 0x0002 ;
155+ pub const POLLOUT : c_int = 0x0004 ;
156+ pub const POLLRDNORM : c_int = 0x0040 ;
157+ pub const POLLWRNORM : c_int = POLLOUT ;
158+ pub const POLLRDBAND : c_int = 0x0080 ;
159+ pub const POLLWRBAND : c_int = 0x0100 ;
160+ pub const POLLERR : c_int = 0x0008 ;
161+ pub const POLLHUP : c_int = 0x0010 ;
162+ pub const POLLNVAL : c_int = 0x0020 ;
163163
164164pub const EAI_AGAIN : c_int = 2 ;
165165pub const EAI_BADFLAGS : c_int = 3 ;
You can’t perform that action at this time.
0 commit comments