comparison src/syssignal.h @ 97267:248808aeee3e

fix popup menu selection return (menu.c); add use of popup_activated under NS (nsmenu.m, xdisp.c); improve comments (lisp.h, s/darwin.h); use FORWARD_SIGNAL_TO_MAIN_THREAD (syssignal.h)
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 04 Aug 2008 16:57:44 +0000
parents c3512b2085a0
children e038c1a8307c
comparison
equal deleted inserted replaced
97266:80acedef7417 97267:248808aeee3e
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20 extern void init_signals P_ ((void)); 20 extern void init_signals P_ ((void));
21 21
22 #if defined (HAVE_GTK_AND_PTHREAD) 22 #if defined (HAVE_GTK_AND_PTHREAD) || defined (HAVE_NS)
23 #include <pthread.h> 23 #include <pthread.h>
24 /* If defined, asynchronous signals delivered to a non-main thread are 24 /* If defined, asynchronous signals delivered to a non-main thread are
25 forwarded to the main thread. */ 25 forwarded to the main thread. */
26 #define FORWARD_SIGNAL_TO_MAIN_THREAD 26 #define FORWARD_SIGNAL_TO_MAIN_THREAD
27 #endif 27 #endif