From: "Iñaki Baz Castillo" Date: 2012-05-30T20:14:28+09:00 Subject: Re: extconf.rg and #ifdef 2012/5/28 Jon Forums : > 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. -- Iñaki Baz Castillo