| 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:55 |
| Message-ID: | E1cwEuh-00029M-WB@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | 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_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/649cd9085efb2cb4e21eec3b3861f46e89ba3a34
Modified Files
--------------
contrib/sepgsql/label.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2017-04-06 21:25:57 | pgsql: Silence compiler warning in sepgsql |
| Previous Message | Joe Conway | 2017-04-06 21:25:53 | pgsql: Silence compiler warning in sepgsql |