X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgspawn-win32.c;h=2acbde33c7d73c38503c2ea2ee2f3d8594011928;hb=d0083f7e2dd621c6b78496bdb6ecf5d580c5e110;hp=5bf9126a9f122aa8d9d3bfdf90614bec54c98318;hpb=369c7689c24154ac04ac1dd528f99164fafb0541;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gspawn-win32.c b/glib/gspawn-win32.c index 5bf9126..2acbde3 100644 --- a/glib/gspawn-win32.c +++ b/glib/gspawn-win32.c @@ -45,6 +45,7 @@ #include "config.h" #include "glib.h" +#include "glib-private.h" #include "gprintfint.h" #include "glibintl.h" #include "gthread.h" @@ -61,6 +62,7 @@ #include #include +#ifndef GSPAWN_HELPER #ifdef G_SPAWN_WIN32_DEBUG static int debug = 1; #define SETUP_DEBUG() /* empty */ @@ -79,6 +81,7 @@ } \ G_STMT_END #endif +#endif enum { @@ -206,8 +209,8 @@ protect_argv (gchar **argv, return argc; } -G_DEFINE_QUARK ("g-exec-error-quark", g_spawn_error) -G_DEFINE_QUARK ("g-spawn-exit-error-quark", g_spawn_exit_error) +G_DEFINE_QUARK (g-exec-error-quark, g_spawn_error) +G_DEFINE_QUARK (g-spawn-exit-error-quark, g_spawn_exit_error) gboolean g_spawn_async_utf8 (const gchar *working_directory, @@ -545,7 +548,6 @@ do_spawn_with_pipes (gint *exit_status, gchar *helper_process; CONSOLE_CURSOR_INFO cursor_info; wchar_t *whelper, **wargv, **wenvp; - extern gchar *_glib_get_dll_directory (void); gchar *glib_dll_directory; if (child_setup && !warned_about_child_setup)