Re: test/example does not support win32. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: test/example does not support win32.
Date
Msg-id 17899.1262189370@sss.pgh.pa.us
Whole thread Raw
In response to Re: test/example does not support win32.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> On reflection I think it's just wrong to expect that the examples will
>> compile out-of-the-box on every platform.

> That would be all good and well if we didn't already rely on the 
> configure setup. But we do - the Makefile includes src/Makefile.global, 
> which is built by configure.

That makefile is not part of the examples.  It wouldn't get copied and
pasted into someone's source code.

> Anyway, let's see how far we can get with including some standard header 
> files.

Sure, no objection to that.  It's when somebody starts wanting to use
HAVE_FOO symbols that I get unhappy.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: test/example does not support win32.
Next
From: Tom Lane
Date:
Subject: Re: krb_server_keyfile setting doesn't work on Windows