diff --git a/src/MacVim/gui_macvim.m b/src/MacVim/gui_macvim.m index ebb8d2df56..38f2e59105 100644 --- a/src/MacVim/gui_macvim.m +++ b/src/MacVim/gui_macvim.m @@ -406,9 +406,8 @@ gui_mch_wait_for_chars(int wtime) // called, so force a flush of the command queue here. [[MMBackend sharedInstance] flushQueue:YES]; -#if defined(FEAT_NETBEANS_INTG) - /* Process any queued netbeans messages. */ - netbeans_parse_messages(); +#ifdef MESSAGE_QUEUE + parse_queued_messages(); #endif return [[MMBackend sharedInstance] waitForInput:wtime];