/* jmp_buf that gets us out of the IO error handler if an error occurs
terminating DND as part of the display disconnect handler. */
-static jmp_buf x_dnd_disconnect_handler;
+static sigjmp_buf x_dnd_disconnect_handler;
/* Structure describing a single window that can be the target of
drag-and-drop operations. */
{
/* DPY isn't created through GDK, so it doesn't matter if we don't
crash here. */
- longjmp (x_dnd_disconnect_handler, 1);
+ siglongjmp (x_dnd_disconnect_handler, 1);
}
static Window
#ifdef USE_GTK
emacs_abort ();
#else
- longjmp (x_dnd_disconnect_handler, 1);
+ siglongjmp (x_dnd_disconnect_handler, 1);
#endif
}