D-Programming-Language/dmd — pull request #1443 by leandro-lucarella-sociomantic (2013-01-08 19:57:14+00:00)
Title: Add HOST_POSIX define

Checks about the host operating system are made everywhere to use some
POSIX specific stuff. To do this check the verbose and error prone idiom
is used: #if linux || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun

This patch adds a new define, HOST_POSIX, as a shortcut to the old
idiom.