Make gendef.pl emit DATA annotations for global variables.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2014 18:39:14 +0000 (13:39 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2014 18:39:14 +0000 (13:39 -0500)
commita5eed4d7706749046e74fa2e23823beb43f254fd
tree38d0f28881bcc00e664c461bfe4ba95893dd4a16
parent7a98d323df2d0839ebb4aab2004c626b64343b76
Make gendef.pl emit DATA annotations for global variables.

This should make the MSVC build act more like builds for other platforms,
i.e. backend global variables will be automatically available to loadable
libraries without need for explicit PGDLLIMPORT marking.

Craig Ringer
src/tools/msvc/gendef.pl