2012/5/28 Jon Forums <lists / ruby-forum.com>:
> From libuv's `include/uv.h` header:
>
> #if defined(__unix__) || defined(__POSIX__) || defined(__APPLE__)
> # include "uv-private/uv-unix.h"
> #else
> # include "uv-private/uv-win.h"
> #endif

Excellent, I didn't realize of that :)



> To help prevent multi-platform lunacy, as I find useful macros I add
> them to a simple little C helper such as:
>
> https://gist.github.com/968522

Really useful. Thanks a lot.

-- 
Iaki Baz Castillo
<ibc / aliax.net>