Building ResIL 1.7.9 on OS X 10.9 Mavericks fails:
./../src-IL/src/il_gif.cpp:115:7: error: use of undeclared identifier '_strnicmp'; did you mean 'strnicmp'?
if (!_strnicmp(Header, "GIF87A", 6))
I was able to work around this problem by replacing the occurrences of "_strnicmp" with "strnicmp", like they were in DevIL 1.7.8.
That is probably correct; Windows wants underscores in front of the C standard library functions, everyone does not. For portability, probably something like
could be added.
Here's Microsoft's view of the situation:
I have added a definition for strnicmp to il_internal.h which will be part of version 1.8.0 and have reverted the occurences of _strnicmp to strnicmp.
Log in to post a comment.