forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commited9b360
committed
Further refactoring of c.h and nearby files.
This continues the work of commit91aec93 by getting rid of a lot ofWindows-specific funny business in "section 0". Instead of includingpg_config_os.h in different places depending on platform, let'sstandardize on putting it before the system headers, and in consequencereduce win32.h to just what has to appear before the system headers orthe body of c.h (the latter category seems to include only PGDLLIMPORTand PGDLLEXPORT). The rest of what was in win32.h is moved to a newsub-include of port.h, win32_port.h. Some of what was in port.h seemsto better belong there too.It's possible that I missed some declaration ordering dependency thatneeds to be preserved, but hopefully the buildfarm will find thatout in short order.Unlike the previous commit, no back-patch, since this is just cleanupnot a prerequisite for a bug fix.Discussion:https://postgr.es/m/29650.1510761080@sss.pgh.pa.us1 parent642bafa commited9b360
File tree
5 files changed
+512
-495
lines changed- src
- bin/pg_ctl
- include
- port
5 files changed
+512
-495
lines changedLines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 | 12 |
| |
21 | 13 |
| |
22 | 14 |
| |
|
Lines changed: 1 addition & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 | 55 |
| |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 | 56 |
| |
| 57 | + | |
81 | 58 |
| |
82 | 59 |
| |
83 | 60 |
| |
| |||
99 | 76 |
| |
100 | 77 |
| |
101 | 78 |
| |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 | 79 |
| |
108 | 80 |
| |
109 | 81 |
| |
|
Lines changed: 10 additions & 49 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 |
| |
21 | 30 |
| |
22 | 31 |
| |
| |||
101 | 110 |
| |
102 | 111 |
| |
103 | 112 |
| |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 | 113 |
| |
110 | 114 |
| |
111 | 115 |
| |
| |||
185 | 189 |
| |
186 | 190 |
| |
187 | 191 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 | 192 |
| |
209 | 193 |
| |
210 | 194 |
| |
211 | 195 |
| |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 | 196 |
| |
219 | 197 |
| |
220 | 198 |
| |
| |||
262 | 240 |
| |
263 | 241 |
| |
264 | 242 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 | 243 |
| |
283 | 244 |
| |
284 | 245 |
| |
| |||
353 | 314 |
| |
354 | 315 |
| |
355 | 316 |
| |
356 |
| - | |
| 317 | + | |
357 | 318 |
| |
358 | 319 |
| |
359 | 320 |
| |
|
0 commit comments
Comments
(0)