mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-29 12:23:17 -04:00
backports: Backport G_SPAWN_DEFAULT
This makes the absence of flags a bit clearer to write. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -64,6 +64,10 @@ gboolean glnx_set_object (GObject **object_ptr,
|
||||
|
||||
#endif /* !GLIB_CHECK_VERSION(2, 44, 0) */
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2, 38, 0)
|
||||
#define G_SPAWN_DEFAULT ((GSpawnFlags) 0)
|
||||
#endif
|
||||
|
||||
#ifndef g_assert_nonnull
|
||||
#define g_assert_nonnull(x) g_assert (x != NULL)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user