Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Build ARSperl-1.91 in Strawberry

by syphilis (Canon)
on Aug 24, 2012 at 00:26 UTC ( #989415=note: print w/ replies, xml ) Need Help??


in reply to Build ARSperl-1.91 in Strawberry

/* 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.

Cheers,
Rob


Comment on Re: Build ARSperl-1.91 in Strawberry
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (20)
As of 2015-07-07 21:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls