|Perl Monk, Perl Meditation|
Re: Build ARSperl-1.91 in Strawberryby syphilis (Chancellor)
|on Aug 24, 2012 at 00:26 UTC||Need Help??|
/* roll our own strcasecmp and strncasecmp for Win */
MinGW has its own implementations of strcasecmp, strncasecmp and strdup (in string.h) - maybe (some) MS compilers don't.
Anyway, just change the #idef _WIN32 (a coupla lines higher up, at about line 102) to #ifdef _MSC_VER.
Then, in supportrev.c there's a section defining those three functions that also begins with an #ifdef _WIN32. You'll need to change it to #ifdef _MSC_VER too.
See how that goes.