Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVKtt-0002cf-SM for pgsql-committers@arkaria.postgresql.org; Tue, 19 Jun 2018 17:58:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVKtq-0005vZ-2S for pgsql-committers@arkaria.postgresql.org; Tue, 19 Jun 2018 17:58:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVKtp-0005vO-QW for pgsql-committers@lists.postgresql.org; Tue, 19 Jun 2018 17:58:37 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fVKtn-0008DB-5I for pgsql-committers@lists.postgresql.org; Tue, 19 Jun 2018 17:58:36 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fVKtm-0005tc-D1; Tue, 19 Jun 2018 13:58:34 -0400 Date: Tue, 19 Jun 2018 13:58:34 -0400 From: Bruce Momjian To: Stephen Frost Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix for globals.c- c.h must come first Message-ID: <20180619175834.GE3637@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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 +