Ivan Ristic | 3 Mar 18:55
Gravatar

Re: mod_security build for windows - problem

Spence, Ian (ELS-CAM) wrote:
> Ivan,
> 
> A colleague of mine has tried to build the dev1.9 source but is seeing the
> following error. I know you have said other people have warned of
> mod_security not building on Windows. Is getpwuid the wrong method call for
> windows, can we simply replace this with an alternative method? Can you
> suggest any solution?

   If that's the only problem then simply comment out the offending
   parts. The getpwuid call only makes sense on Unix platforms anyway.

   Or surround the code with #if !(defined(WIN32)) and #endif

--

-- 
Ivan Ristic
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

Gmane