forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5edeb57
committed
Add some missing PGDLLIMPORT markings
Three variables in pqsignal.h (UnBlockSig, BlockSig and StartupBlockSig)were not marked with PGDLLIMPORT, as they are declared in a way thatprevents mark_pgdllimport.pl to detect them. These variables areredefined in a style more consistent with the other headers, allowingthe script to find and mark them.PGDLLIMPORT was missing for __pg_log_level in logging.h, so add itback. The marking got accidentally removed in9a374b7, just after itsaddition in8ec5694.While on it, add a comment in mark_pgdllimport.pl explaining what arethe arguments needed by the script (aka a list of header paths).Reported-by: Andres FreundDiscussion:https://postgr.es/m/20220506234924.6mxxotl3xl63db3l@alap3.anarazel.de1 parent6bfecf3 commit5edeb57
File tree
3 files changed
+6
-5
lines changed- src
- include
- common
- libpq
- tools
3 files changed
+6
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
|
0 commit comments
Comments
(0)