Change PyInit_plpy to external linkage

Peter Eisentraut <peter_e@gmx.net>

Commit: e1f9aa4eaecd8107230df1a1b698e8caf0fba4f8
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-08-18T09:59:43Z
Releases: 9.2.0
Change PyInit_plpy to external linkage

Module initialization functions in Python 3 must have external
linkage, because PyMODINIT_FUNC does dllexport on Windows-like
platforms.  Without this change, the build with Python 3 fails on
Windows.

Files

PathChange+/−
src/pl/plpython/plpython.c modified +7 −1