rt: re-adding lines erroneous stripped out in merge conflict

This commit is contained in:
Jeff Olson 2013-08-21 15:13:01 -07:00
parent 10ff5355b3
commit c0fba3c4ac

View File

@ -13,12 +13,21 @@
#include <malloc.h>
#endif
#ifndef __WIN32__
// for signal
#include <signal.h>
#endif
#include "uv.h"
#include "rust_globals.h"
extern "C" void*
rust_uv_loop_new() {
// XXX libuv doesn't always ignore SIGPIPE even though we don't need it.
#ifndef __WIN32__
signal(SIGPIPE, SIG_IGN);
#endif
return (void*)uv_loop_new();
}