summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2020-08-22 16:31:02 +0100
committerAlan Third <alan@idiocy.org>2020-08-22 16:31:02 +0100
commite63a0c466c10d0b9de6a28e2ddd412226087bd27 (patch)
treea818984ab7a5a3de56ab2d743f8e1bf8c79e4789 /src/thread.c
parent96e5d8ce0d92eacbd7e237e50f0b572bb56e6d66 (diff)
downloademacs-e63a0c466c10d0b9de6a28e2ddd412226087bd27.tar.gz
Fix NS build failure
* src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is defined.
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 1 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>. */
#include "pdumper.h"
#include "keyboard.h"
-#ifdef HAVE_GLIB
+#if defined HAVE_GLIB && ! defined (HAVE_NS)
#include <xgselect.h>
#else
#define release_select_lock() do { } while (0)