Allow keyword macros for glib support on MSVC

This commit is contained in:
Lovell Fuller 2016-05-08 12:39:34 +01:00
parent 1bece3a792
commit 7388d97502

View File

@ -9,7 +9,8 @@
'download_vips': '<!(node -e "require(\'./binding\').download_vips()")' 'download_vips': '<!(node -e "require(\'./binding\').download_vips()")'
}, },
'defines': [ 'defines': [
'VIPS_CPLUSPLUS_EXPORTS' 'VIPS_CPLUSPLUS_EXPORTS',
'_ALLOW_KEYWORD_MACROS'
], ],
'sources': [ 'sources': [
'src/libvips/cplusplus/VError.cpp', 'src/libvips/cplusplus/VError.cpp',
@ -91,7 +92,8 @@
'src/utilities.cc' 'src/utilities.cc'
], ],
'defines': [ 'defines': [
'_GLIBCXX_USE_CXX11_ABI=0' '_GLIBCXX_USE_CXX11_ABI=0',
'_ALLOW_KEYWORD_MACROS'
], ],
'include_dirs': [ 'include_dirs': [
'<!(node -e "require(\'nan\')")' '<!(node -e "require(\'nan\')")'