Fix NS build failure

* src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is
defined.
This commit is contained in:
Alan Third 2020-08-22 16:31:02 +01:00
parent 96e5d8ce0d
commit e63a0c466c

View file

@ -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)