JuliaLang/julia — pull request #1387 by johnmyleswhite (2012-10-16 13:47:17+00:00)
Title: RFC: Use macros for separate functions on OS X and Linux

To resolve the issues that came up in 3327b629e2, I've added macros that split apart OS X and Linux in the same way that we previously split apart Windows and Unix. For this specific case, we should ultimately not keep the resulting definitions of `tempdir` and `tempfile`, but I suspect that we will find separating OS X from Linux useful in other places as well.

Because this introduces new macros everywhere, I wanted to get people's opinions about this strategy before using it for such a small problem.