jabapyth/codetalker — pull request #3 by Juntalis (2011-11-20 11:56:45+00:00)
Title: Fixes to allow building the module with Microsoft VC compiler

MSVC is stupid and throws an error during build if you declare a variable anywhere but at the top of a function. Additionally, strncmp is not defined in the MSVC standard headers. To fix these two issues, I moved a couple of variable declarations to the top of their function, and threw in a quick macro so that if the user is compiling the source code from MSVC, it will use _strnicmp instead of strncmp. (Same thing)