mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 9.0.1341: build error with mzscheme but without GUI
Problem: Build error with mzscheme but without GUI. Solution: Adjust #ifdefs. (Ken Takata, closes #12042) Also fix function argument.
This commit is contained in:
@@ -886,19 +886,21 @@ remove_timer(void)
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user