joyent/node — pull request #6874 by bnoordhuis (2014-01-15 11:57:18+00:00)
Title: src: don't mark addon_register_func as dllimport

addon_register_func and its cousin addon_context_register_func are type
definitions, dllimport and dllexport are name mangling directives, i.e.
they're quite unrelated concepts. MinGW complains about mixing them
when cross-compiling native add-ons.

Suggested reviewer: @piscisaureus