emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e63a0c4 2/2: Fix NS build failure


From: Alan Third
Subject: master e63a0c4 2/2: Fix NS build failure
Date: Sat, 22 Aug 2020 11:32:19 -0400 (EDT)

branch: master
commit e63a0c466c10d0b9de6a28e2ddd412226087bd27
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>

    Fix NS build failure
    
    * src/thread.c: xgselect isn't used with NS, even when HAVE_GLIB is
    defined.
---
 src/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/thread.c b/src/thread.c
index b4d8a53..7ab1e6d 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]