forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0e497ea
committed
mingw: Define PGDLLEXPORT as __declspec (dllexport) as done for msvc
While mingw would otherwise fall back to__attribute__((visibility("default"))), that appears to only work as long asno symbols are declared with __declspec(dllexport). But we can end up withsome, e.g. plpython's Py_Init.It's quite possible we should do the same for cygwin, but I don't have a testenvironment for that...Discussion:http://postgr.es/m/20220928022724.erzuk5v4ai4b53do@awork3.anarazel.deDiscussion:http://postgr.es/m/20220928025242.ugf7t5ugxxgmkraa@awork3.anarazel.de1 parent4e4f7b9 commit0e497ea
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
53 |
| - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 |
| |
55 |
| - | |
56 | 59 |
| |
57 |
| - | |
|
0 commit comments
Comments
(0)