Over at http://www.haskell.org/ghc/docs/latest/html/users_guide/options-phases.html#c-pre-processor one of the macros listed, os_OS, doesn't actually exist. It should read os_HOST_OS. -- John