forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff47d4b
committed
Work around stdbool problem in dfmgr.c.
Commit842cb9f refactored things so that dfmgr.c includes <dlfcn.h>,which before that had only been directly included in platform-specificstub files. It turns out that on macOS, <dlfcn.h> includes <stdbool.h>,and that causes problems on platforms where _Bool is not char-sized ...which happens to include the PPC versions of macOS. Work around itmuch as we have in plperl.h, by #undef'ing bool after including theproblematic file, but only if we're not using stdbool-style booleans.Discussion:https://postgr.es/m/E1fxqjl-0003YS-NS@gemulon.postgresql.org1 parented0cdf0 commitff47d4b
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
21 | 30 |
| |
| 31 | + | |
22 | 32 |
| |
23 | 33 |
| |
24 | 34 |
| |
|
0 commit comments
Comments
(0)