haskell/time — pull request #4 by hvr (2014-10-12 08:29:56+00:00)
Title: Use `_tzset()` for non-POSIX Windows environments

When compiling with MinGW (which does not provide a full POSIX layer as
opposed to CygWin) it's better to use the CRT's underscore-prefixed
`_tzset()` variant to avoid linker issues as Microsoft considers the
POSIX named `tzset()` function deprecated

Further reading

- http://msdn.microsoft.com/en-us/library/ms235384.aspx
- http://stackoverflow.com/questions/23477746/what-are-the-posix-like-functions-in-msvcs-c-runtime

This hopefully addresses #2