Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c4920b

Browse files
committed
Remove stdbool workaround in sepgsql
Since we now use stdbool.h in c.h, this workaround breaks the build andis no longer necessary, so remove it. (Technically, there could beplatforms with a 4-byte bool in stdbool.h, in which case we would notinclude stdbool.h in c.h, and so the old problem that caused thisworkaround would reappear. But this combination is not known to happenon the range of platforms where sepgsql can be built.)
1 parent9a95a77 commit5c4920b

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)

[8]ページ先頭

©2009-2025 Movatter.jp