These macros were defined in 2.38, but SWE-GLib depends on 2.32. Requiring a newer version solely for this would be an overkill, so let’s just backport them.
These were added in newer GLibbversions, but upgrading requirements just because of these would be an overkill.