]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't call xg_select for a NextStep build.
authorKen Raeburn <raeburn@raeburn.org>
Fri, 30 Dec 2016 22:51:35 +0000 (17:51 -0500)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 30 Dec 2016 22:51:35 +0000 (17:51 -0500)
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.

src/process.c

index c0c52c232b93868d6598c0f8fca7ebd63742939b..0d88b2ce285d3fe32f064adcf4538d8f90c4b069 100644 (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);