windows: fix module registration
authorAlexis Campailla <alexis@janeasystems.com>
Tue, 25 Feb 2014 17:57:43 +0000 (18:57 +0100)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Tue, 25 Feb 2014 21:44:38 +0000 (13:44 -0800)
commitb5f9779c2f837eb500cd9ead37d88b2717c5ba91
tree44b89ca4a5c78b98baa5ddcaec26ee8bae8bd135
parent2ca4d9d662f638beb1ac99856848a1ac08ba0997
windows: fix module registration

The linker was optimizing the static variables that were supposed
to trigger module initialization.

I am making them non-static, and dllexport so that they don't get
optimized away.

Fixes #7116
src/node.h