mirror of
https://github.com/lovell/sharp.git
synced 2025-07-10 19:10:14 +02:00
Allow keyword macros for glib support on MSVC
This commit is contained in:
parent
1bece3a792
commit
7388d97502
@ -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\')")'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user