]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix NS build failure
authorAlan Third <alan@idiocy.org>
Sat, 22 Aug 2020 15:31:02 +0000 (16:31 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 22 Aug 2020 15:31:02 +0000 (16:31 +0100)
* src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is
defined.

src/thread.c

index b4d8a53cf685ee47516d622ddb334b267aaf7469..7ab1e6de1fc33b0d0ca76a9e615c3a76587431a4 100644 (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)