Re: src/interfaces/libpq shipping nmake-related Makefiles

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: src/interfaces/libpq shipping nmake-related Makefiles
Date: 2017-04-11 13:14:23
Message-ID: CABUevEx04NTJS-x5Goxf1cAduA3bUuZ0GehOGUyqjxuWJ0qxUg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 11, 2017 at 4:18 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:

> On Tue, Apr 11, 2017 at 1:45 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Magnus Hagander <magnus(at)hagander(dot)net> writes:
> >>>>> Are these votes for getting rid of both win32.mak and bcc32.mak?
> >
> >> PFA a patch that does this. Did I miss something? :)
> >
> > Perhaps we should get rid of the WIN32_ONLY_COMPILER symbol altogether;
> > given this patch, "#ifdef WIN32_ONLY_COMPILER" could be replaced by
> > "#ifdef _MSC_VER".
>
> That's here in the patch for people wondering:
> -#if defined(_MSC_VER) || defined(__BORLANDC__)
> +#if defined(_MSC_VER)
> #define WIN32_ONLY_COMPILER
> #endif
> +1 for the renaming.
>

Ok, since we have two votes for it, I will go ahead and do that (as a
separate patch pushed together).'

> Or maybe rename it to something else --- I'm not sure what, but
> > I've always found that symbol rather confusing.
>
> No complains here as well. Thanks for the patch.
>

Thanks.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-04-11 13:17:06 Re: pgrowlocks relkind check
Previous Message Stephen Frost 2017-04-11 13:12:33 Re: pg_dump emits ALTER TABLE ONLY partitioned_table