Problem: Build error with mzscheme but without GUI.
Solution: Adjust #ifdefs. (Ken Takata, closes #12042) Also fix function
argument.
timer_id = 0;
}
+#endif // MZSCHEME_GUI_THREADS
+
char *
-did_set_mzquantum(void)
+did_set_mzquantum(optset_T *args UNUSED)
{
+#if defined(MZSCHEME_GUI_THREADS)
// reset timer
if (timer_id != 0)
remove_timer();
if (mz_threads_allow && p_mzq > 0 && gui.in_use)
setup_timer();
+#endif
return NULL;
}
-#endif // MZSCHEME_GUI_THREADS
-
static void
notify_multithread(int on)
{
/* if_mzsch.c */
int mzscheme_enabled(int verbose);
void mzvim_check_threads(void);
-char *did_set_mzquantum(void);
+char *did_set_mzquantum(optset_T *args);
void mzscheme_end(void);
int mzscheme_main(void);
void mzscheme_buffer_free(buf_T *buf);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1341,
/**/
1340,
/**/