浏览代码

Comment out SO_ERROR so it is not used

Jeremy Soller 6 年之前
父节点
当前提交
a0b4e21bbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/header/sys_socket/constants.rs

+ 1 - 1
src/header/sys_socket/constants.rs

@@ -14,7 +14,7 @@ pub const SOL_SOCKET: c_int = 1;
 pub const SO_DEBUG: c_int = 1;
 pub const SO_REUSEADDR: c_int = 2;
 pub const SO_TYPE: c_int = 3;
-pub const SO_ERROR: c_int = 4;
+//pub const SO_ERROR: c_int = 4;
 pub const SO_DONTROUTE: c_int = 5;
 pub const SO_BROADCAST: c_int = 6;
 pub const SO_SNDBUF: c_int = 7;