forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit71cb352
committed
Fix header inclusion order in c.h.
Commit962da90 added #include <stdint.h> to postgres_ext.h, whichbroke c.h's header ordering rule.The system headers on some systems would then lock down off_t's size inprivate macros, before they'd had a chance to see our definition of_FILE_OFFSET_BITS (and presumably other things). This was picked up byperl's ABI compatibility checks on some 32 bit systems in the buildfarm.Move #include "postgres_ext.h" down below the system header section, andmake the comments clearer (thanks to Tom for the new wording).Diagnosed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/2397643.1733347237%40sss.pgh.pa.us1 parent76fd342 commit71cb352
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
50 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 |
| |
52 | 55 |
| |
53 |
| - | |
| 56 | + | |
54 | 57 |
| |
55 | 58 |
| |
56 | 59 |
| |
| |||
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
| 82 | + | |
| 83 | + | |
| 84 | + | |
79 | 85 |
| |
80 | 86 |
| |
81 | 87 |
| |
|
0 commit comments
Comments
(0)