Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiling on Windows #4

Open
theFroh opened this issue May 21, 2016 · 0 comments
Open

Fix compiling on Windows #4

theFroh opened this issue May 21, 2016 · 0 comments

Comments

@theFroh
Copy link

theFroh commented May 21, 2016

New to GitHub and such, but I noticed this wont compile on Windows (under Luarocks), due to it relying on "strncasecmp".

I worked around this by manually adding:

#if defined(_WIN32) || defined(_WIN64)
# define strncasecmp _strnicmp
# endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant