Skip to content

Commit 5c4920b

Browse files
committed
Remove stdbool workaround in sepgsql
Since we now use stdbool.h in c.h, this workaround breaks the build and is no longer necessary, so remove it. (Technically, there could be platforms with a 4-byte bool in stdbool.h, in which case we would not include stdbool.h in c.h, and so the old problem that caused this workaround would reappear. But this combination is not known to happen on the range of platforms where sepgsql can be built.)
1 parent 9a95a77 commit 5c4920b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

contrib/sepgsql/label.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@
1212

1313
#include <selinux/label.h>
1414

15-
/*
16-
* <selinux/label.h> includes <stdbool.h>, which creates an incompatible
17-
* #define for bool. Get rid of that so we can use our own typedef.
18-
* (We don't care if <stdbool.h> redefines "true"/"false"; those are close
19-
* enough.)
20-
*/
21-
#undef bool
22-
2315
#include "access/heapam.h"
2416
#include "access/htup_details.h"
2517
#include "access/genam.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy