Prevent glib assertions and checks #4351

This commit is contained in:
Lovell Fuller 2025-04-04 15:42:34 +01:00
parent 7323dbee98
commit a9e191328f

View File

@ -19,7 +19,10 @@
'type': 'shared_library', 'type': 'shared_library',
'defines': [ 'defines': [
'_VIPS_PUBLIC=__declspec(dllexport)', '_VIPS_PUBLIC=__declspec(dllexport)',
'_ALLOW_KEYWORD_MACROS' '_ALLOW_KEYWORD_MACROS',
'G_DISABLE_ASSERT',
'G_DISABLE_CAST_CHECKS',
'G_DISABLE_CHECKS'
], ],
'sources': [ 'sources': [
'<(sharp_libvips_cplusplus_dir)/VConnection.cpp', '<(sharp_libvips_cplusplus_dir)/VConnection.cpp',