diff options
author | Peter Eisentraut | 2018-03-23 01:59:28 +0000 |
---|---|---|
committer | Peter Eisentraut | 2018-03-23 01:59:28 +0000 |
commit | 5c4920be303e0ab894c9a3a48e780b7e0e56240b (patch) | |
tree | 7f3ca3d263eb18e64de8c1ea683e28c3af387b5d | |
parent | 9a95a77d9d5d3003d2d67121f2731b6e5fc37336 (diff) |
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.)
-rw-r--r-- | contrib/sepgsql/label.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/sepgsql/label.c b/contrib/sepgsql/label.c index 7554017923..dba0986e02 100644 --- a/contrib/sepgsql/label.c +++ b/contrib/sepgsql/label.c @@ -12,14 +12,6 @@ #include <selinux/label.h> -/* - * <selinux/label.h> includes <stdbool.h>, which creates an incompatible - * #define for bool. Get rid of that so we can use our own typedef. - * (We don't care if <stdbool.h> redefines "true"/"false"; those are close - * enough.) - */ -#undef bool - #include "access/heapam.h" #include "access/htup_details.h" #include "access/genam.h" |