From: Alan Third Date: Sat, 22 Aug 2020 15:31:02 +0000 (+0100) Subject: Fix NS build failure X-Git-Tag: emacs-28.0.90~6458 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e63a0c466c10d0b9de6a28e2ddd412226087bd27;p=emacs.git Fix NS build failure * src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is defined. --- diff --git a/src/thread.c b/src/thread.c index b4d8a53cf68..7ab1e6de1fc 100644 --- a/src/thread.c +++ b/src/thread.c @@ -28,7 +28,7 @@ along with GNU Emacs. If not, see . */ #include "pdumper.h" #include "keyboard.h" -#ifdef HAVE_GLIB +#if defined HAVE_GLIB && ! defined (HAVE_NS) #include #else #define release_select_lock() do { } while (0)