forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitca1e855
committed
Remove configure probe for dlopen, and refactor.
dlopen() is in SUSv2 and all targeted Unix systems have it. We stillneed replacement functions for Windows, but we don't need a configureprobe for that.Since it's no longer needed by other operating systems, rename dlopen.cto win32dlopen.c and move the declarations into win32_port.h.Likewise, the macros RTLD_NOW and RTLD_GLOBAL now only need to bedefined on Windows, since all targeted Unix systems have 'em.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com1 parent87e22f6 commitca1e855
File tree
9 files changed
+23
-87
lines changed- src
- backend/utils/fmgr
- include
- port
- port
- tools/msvc
9 files changed
+23
-87
lines changedLines changed: 6 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16618 | 16618 |
| |
16619 | 16619 |
| |
16620 | 16620 |
| |
16621 |
| - | |
16622 |
| - | |
16623 |
| - | |
16624 |
| - | |
16625 |
| - | |
16626 |
| - | |
16627 |
| - | |
16628 |
| - | |
16629 |
| - | |
16630 |
| - | |
16631 |
| - | |
16632 |
| - | |
16633 |
| - | |
16634 |
| - | |
16635 |
| - | |
16636 |
| - | |
16637 |
| - | |
16638 |
| - | |
16639 |
| - | |
16640 |
| - | |
16641 |
| - | |
16642 |
| - | |
16643 |
| - | |
16644 |
| - | |
16645 | 16621 |
| |
16646 | 16622 |
| |
16647 | 16623 |
| |
| |||
16687 | 16663 |
| |
16688 | 16664 |
| |
16689 | 16665 |
| |
16690 |
| - | |
16691 |
| - | |
16692 |
| - | |
16693 |
| - | |
16694 |
| - | |
16695 |
| - | |
16696 |
| - | |
16697 |
| - | |
16698 |
| - | |
16699 |
| - | |
16700 |
| - | |
16701 |
| - | |
16702 |
| - | |
16703 | 16666 |
| |
16704 | 16667 |
| |
16705 | 16668 |
| |
| |||
17078 | 17041 |
| |
17079 | 17042 |
| |
17080 | 17043 |
| |
| 17044 | + | |
| 17045 | + | |
| 17046 | + | |
| 17047 | + | |
| 17048 | + | |
| 17049 | + | |
17081 | 17050 |
| |
17082 | 17051 |
| |
17083 | 17052 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1858 | 1858 |
| |
1859 | 1859 |
| |
1860 | 1860 |
| |
1861 |
| - | |
1862 |
| - | |
1863 | 1861 |
| |
1864 | 1862 |
| |
1865 | 1863 |
| |
| |||
1880 | 1878 |
| |
1881 | 1879 |
| |
1882 | 1880 |
| |
1883 |
| - | |
1884 | 1881 |
| |
1885 | 1882 |
| |
1886 | 1883 |
| |
| |||
1962 | 1959 |
| |
1963 | 1960 |
| |
1964 | 1961 |
| |
| 1962 | + | |
1965 | 1963 |
| |
1966 | 1964 |
| |
1967 | 1965 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
|
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 | 144 |
| |
153 | 145 |
| |
154 | 146 |
| |
| |||
169 | 161 |
| |
170 | 162 |
| |
171 | 163 |
| |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 | 164 |
| |
176 | 165 |
| |
177 | 166 |
| |
|
Lines changed: 0 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
458 |
| - | |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 | 458 |
| |
482 | 459 |
| |
483 | 460 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
506 | 515 |
| |
507 | 516 |
| |
508 | 517 |
| |
|
Lines changed: 3 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
| 3 | + | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 | 18 |
| |
21 | 19 |
| |
22 | 20 |
| |
| |||
93 | 91 |
| |
94 | 92 |
| |
95 | 93 |
| |
96 |
| - | |
97 |
| - |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
| 111 | + | |
111 | 112 |
| |
112 | 113 |
| |
113 | 114 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
248 |
| - | |
249 | 247 |
| |
250 | 248 |
| |
251 | 249 |
| |
252 | 250 |
| |
253 | 251 |
| |
254 |
| - | |
255 | 252 |
| |
256 | 253 |
| |
257 | 254 |
| |
|
0 commit comments
Comments
(0)