[postgis-devel] getopt.h

Mateusz Loskot mateusz at loskot.net
Fri Dec 18 15:29:20 PST 2009


Paul Ramsey wrote:
> Don't want to get into a reversion war here... I want to remove the
> getopt custom junk in loader. I know I broke MinGW, but the solution
> isn't to add pgis_getopt back in, it's to find a system getopt for
> MinGW, and it turns out there is one, you just have to test for
> HAVE_UNISTD and if it isn't there, include <getopt.h> and minGW works
> fine.

AFAIU extent of this change, it will effectively forbid building PostGIS
using Visul C++ for good.

I know Visual C++ is not officially supported but it is possible in practice
and I do it from time to time myself.

Best regards
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the postgis-devel mailing list