Skip to content

backports: Use #ifndef instead of GLIB_CHECK_VERSION

Simon McVittie requested to merge wip/smcv/null-option-entry-ifndef into master

As Will Thompson pointed out on !37 (merged), G_OPTION_ENTRY_NULL is a macro in GLib, so we can test for it with #ifndef rather than a version guard. This is a little bit nicer for parent projects that might already have their own backport of it.

Merge request reports