diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-11-05 19:16:48 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-11-10 01:37:11 -0800 |
| commit | 0df8b0057c8beaf108dfb34e53829b74fd2a7abc (patch) | |
| tree | 5e419007f99300a3311acdaf5f990bc5f7caa665 /src/rt/rust_uv.cpp | |
| parent | 1bdaea827ed957ce404fffee27923e9606584ce0 (diff) | |
| download | rust-0df8b0057c8beaf108dfb34e53829b74fd2a7abc.tar.gz rust-0df8b0057c8beaf108dfb34e53829b74fd2a7abc.zip | |
Work around bugs in 32-bit enum FFI
cc #10308
Diffstat (limited to 'src/rt/rust_uv.cpp')
| -rw-r--r-- | src/rt/rust_uv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp index 2745c6062e6..6f619431ad7 100644 --- a/src/rt/rust_uv.cpp +++ b/src/rt/rust_uv.cpp @@ -334,3 +334,8 @@ extern "C" int rust_uv_process_pid(uv_process_t* p) { return p->pid; } + +extern "C" int +rust_uv_guess_handle(int fd) { + return uv_guess_handle(fd); +} |
