pgsql: Silence compiler warning in sepgsql

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence compiler warning in sepgsql
Date: 2017-04-06 21:25:51
Message-ID: E1cwEud-00028U-Dt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence compiler warning in sepgsql

<selinux/label.h> includes <stdbool.h>, which creates an incompatible
We don't care if <stdbool.h> redefines "true"/"false"; those are close
enough.

Complaint and initial patch by Mike Palmiotto. Final approach per
Tom Lane's suggestion, as discussed on hackers. Backpatching to
all supported branches.

Discussion: https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5fcf1f4e0a0dd075b16c628ba0a05521b4b4b179

Modified Files
--------------
contrib/sepgsql/label.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2017-04-06 21:25:53 pgsql: Silence compiler warning in sepgsql
Previous Message Joe Conway 2017-04-06 21:25:49 pgsql: Silence compiler warning in sepgsql