pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix for globals.c- c.h must come first
Date: Tue, 19 Jun 2018 13:58:34 -0400
Message-ID: <20180619175834.GE3637@momjian.us> (raw)
In-Reply-To: <E1fJqYB-0006yo-La@gemulon.postgresql.org>
References: <E1fJqYB-0006yo-La@gemulon.postgresql.org>

On Sat, May 19, 2018 at 01:20:47AM +0000, Stephen Frost wrote:
> Fix for globals.c- c.h must come first
> 
> Commit da9b580 mistakenly put a system header before postgres.h (which
> includes c.h).  That can cause portability issues and broke (at least)
> builds with older Windows compilers.

I assume there is no way to add defined and checks to globals.c and c.h
to cause a compile error when this happens.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +




view thread (9+ messages)  latest in thread

Message-ID: <20180619175834.GE3637@momjian.us>
Permalink:  ../20180619175834.GE3637@momjian.us/
Also on:    postgresql.org/message-id/20180619175834.GE3637@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: bruce@momjian.us, sfrost@snowman.net
  Subject: Re: pgsql: Fix for globals.c- c.h must come first
  In-Reply-To: <20180619175834.GE3637@momjian.us>
  References: <E1fJqYB-0006yo-La@gemulon.postgresql.org> <20180619175834.GE3637@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox