We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18bafad commit fb1f4d1Copy full SHA for fb1f4d1
src/liblibc/lib.rs
@@ -2457,6 +2457,7 @@ pub mod consts {
2457
pub const SHUT_RDWR: c_int = 2;
2458
}
2459
pub mod extra {
2460
+ use SOCKET;
2461
use types::os::arch::c95::{c_int, c_long};
2462
use types::os::arch::extra::{WORD, DWORD, BOOL, HANDLE};
2463
@@ -2663,7 +2664,7 @@ pub mod consts {
2663
2664
2665
pub const MAX_PROTOCOL_CHAIN: DWORD = 7;
2666
pub const WSAPROTOCOL_LEN: DWORD = 255;
- pub const INVALID_SOCKET: DWORD = !0;
2667
+ pub const INVALID_SOCKET: SOCKET = !0;
2668
2669
pub const DETACHED_PROCESS: DWORD = 0x00000008;
2670
pub const CREATE_NEW_PROCESS_GROUP: DWORD = 0x00000200;
0 commit comments