Labels

Milestone

Assignee

2 participants

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)