bitcoin/bitcoin — pull request #1345 by Diapolo (2012-05-17 21:25:45+00:00)
Title: Win32: use _strnicmp (ISO C++) instead of deprecated strnicmp (POSIX)

- the #ifdef WIN32 parts were moved to the top of the files as this is a place everyone looks from time to time
- add missing "#define strncasecmp _strnicmp" in init.cpp
- removes an unintentional add line break added by sipa ^^ (https://github.com/bitcoin/bitcoin/commit/ac7c7ab99aeee4aeea333d720c5a211a443a366d#L0R126)

See http://msdn.microsoft.com/en-us/library/ms235324%28v=vs.80%29.aspx for reference on _strnicmp.