Skip to content

Commit a9e1913

Browse files
committed
Prevent glib assertions and checks #4351
1 parent 7323dbe commit a9e1913

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: src/binding.gyp

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
'type': 'shared_library',
2020
'defines': [
2121
'_VIPS_PUBLIC=__declspec(dllexport)',
22-
'_ALLOW_KEYWORD_MACROS'
22+
'_ALLOW_KEYWORD_MACROS',
23+
'G_DISABLE_ASSERT',
24+
'G_DISABLE_CAST_CHECKS',
25+
'G_DISABLE_CHECKS'
2326
],
2427
'sources': [
2528
'<(sharp_libvips_cplusplus_dir)/VConnection.cpp',

0 commit comments

Comments
 (0)