[release-0.4] nvim:msgpack: Correctly set up global ch_before_blocking_events

gcc10 builds with -fno-common by default. This mean you can't define
a global variable with the same name twice.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
This commit is contained in:
Andreas Schneider 2020-02-17 16:40:37 +01:00 committed by James McCoy
parent 047e36695f
commit 6b38b9e4c6
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -15,7 +15,7 @@
/// HACK: os/input.c drains this queue immediately before blocking for input.
/// Events on this queue are async-safe, but they need the resolved state
/// of os_inchar(), so they are processed "just-in-time".
MultiQueue *ch_before_blocking_events;
EXTERN MultiQueue *ch_before_blocking_events INIT(= NULL);
#ifdef INCLUDE_GENERATED_DECLARATIONS