addon.gypi: define "BUILDING_NODE_EXTENSION"

This makes building on Windows use "dllimport" instead of "dllexport".
This commit is contained in:
Nathan Rajlich 2012-10-30 15:48:05 -07:00
parent 0148a450e1
commit d38446448b

View file

@ -11,6 +11,7 @@
'target_conditions': [
['_type=="loadable_module"', {
'product_extension': 'node',
'defines': [ 'BUILDING_NODE_EXTENSION' ],
}]
],