On Wed, Feb 11, 2009 at 9:49 AM, Joel C. Salomon <joelcsalomon at gmail.com> wrote: > version(!Windows) > // some added functionality that depends on UNIX-like semantics > > Then port the code to something oddball—Plan 9, say, or VMS. I use versions for things other than platform-specific code. Like library compilation options.