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