Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PGDLLEXPORT on exposed functions.
The PG_FUNCTION_INFO_V1() marco also takes care of the extra annotation for the generated info function but not the exposed function itself. Similarly, the _PG_init() and _PG_fini() functions needs to be exported (although the _PG_fini() is currently not called by postgres). This should fix the runtime errors on Windows reported by github user suprimex.
- Loading branch information
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ | |
* github user seqizz | ||
* github user akovac | ||
* Romain DEP | ||
* github user suprimex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters