Commit 4e85501a authored by Torsten Schönfeld's avatar Torsten Schönfeld

Fix compilation against glib < 2.34.0

https://rt.cpan.org/Ticket/Display.html?id=91313
parent 76ebd035
Overview of changes in Glib <next>
==========================================
* Fix compilation against glib < 2.34.0.
Overview of changes in Glib 1.303 (stable)
==========================================
......
......@@ -187,7 +187,9 @@ gperl_spawn_flags_get_type (void)
{ G_SPAWN_STDERR_TO_DEV_NULL, "G_SPAWN_STDERR_TO_DEV_NULL", "stderr-to-dev-null" },
{ G_SPAWN_CHILD_INHERITS_STDIN, "G_SPAWN_CHILD_INHERITS_STDIN", "child-inherits-stdin" },
{ G_SPAWN_FILE_AND_ARGV_ZERO, "G_SPAWN_FILE_AND_ARGV_ZERO", "file-and-argv-zero" },
#if GLIB_CHECK_VERSION (2, 34, 0)
{ G_SPAWN_SEARCH_PATH_FROM_ENVP, "G_SPAWN_SEARCH_PATH_FROM_ENVP", "search-path-from-envp" },
#endif
{ 0, NULL, NULL }
};
etype = g_flags_register_static (g_intern_static_string ("GSpawnFlags"), values);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment