Skip to content

Commit b53419d

Browse files
committed
---
yaml --- r: 80775 b: refs/heads/try c: 55b43fa h: refs/heads/master i: 80773: 12b9bfb 80771: a45f4f8 80767: 3493960 v: v3
1 parent 621b564 commit b53419d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cbd1eefbd350797b783df119fed7956d7e1c74ad
5-
refs/heads/try: 3d469c25e5ecf8dbacb59f714bafd9a92d676852
5+
refs/heads/try: 55b43fa26e02d1f7cf96a8d1ab172fbfd34050bd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/rt/uv/uvll.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,20 @@ pub mod errors {
6767
pub static EPIPE: c_int = -libc::EPIPE;
6868
}
6969

70+
// see libuv/include/uv-unix.h
71+
#[cfg(unix)]
7072
pub struct uv_buf_t {
7173
base: *u8,
7274
len: libc::size_t,
7375
}
7476

77+
// see libuv/include/uv-win.h
78+
#[cfg(windows)]
79+
pub struct uv_buf_t {
80+
len: u32,
81+
base: *u8,
82+
}
83+
7584
pub type uv_handle_t = c_void;
7685
pub type uv_loop_t = c_void;
7786
pub type uv_idle_t = c_void;

0 commit comments

Comments
 (0)