Don't call xg_select for a NextStep build.

NextStep builds use glib but don't use xg_select.

* src/process.c (wait_reading_process_output): Don't call xg_select
for a NextStep build.
This commit is contained in:
Ken Raeburn 2016-12-30 17:51:35 -05:00
parent 064701dc20
commit 53d5bd7861

View file

@ -5341,8 +5341,8 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
}
#endif
/* HAVE_GLIB builds call thread_select in xgselect.c. */
#ifdef HAVE_GLIB
/* Non-macOS HAVE_GLIB builds call thread_select in xgselect.c. */
#if defined HAVE_GLIB && !defined HAVE_NS
nfds = xg_select (max_desc + 1,
&Available, (check_write ? &Writeok : 0),
NULL, &timeout, NULL);