File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
branches/try/src/libstd/rt/uv Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cbd1eefbd350797b783df119fed7956d7e1c74ad
5
- refs/heads/try: 3d469c25e5ecf8dbacb59f714bafd9a92d676852
5
+ refs/heads/try: 55b43fa26e02d1f7cf96a8d1ab172fbfd34050bd
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -67,11 +67,20 @@ pub mod errors {
67
67
pub static EPIPE : c_int = -libc:: EPIPE ;
68
68
}
69
69
70
+ // see libuv/include/uv-unix.h
71
+ #[ cfg( unix) ]
70
72
pub struct uv_buf_t {
71
73
base : * u8 ,
72
74
len : libc:: size_t ,
73
75
}
74
76
77
+ // see libuv/include/uv-win.h
78
+ #[ cfg( windows) ]
79
+ pub struct uv_buf_t {
80
+ len : u32 ,
81
+ base : * u8 ,
82
+ }
83
+
75
84
pub type uv_handle_t = c_void ;
76
85
pub type uv_loop_t = c_void ;
77
86
pub type uv_idle_t = c_void ;
You can’t perform that action at this time.
0 commit comments