aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/version.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-10-03 10:46:11 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-12-09 18:51:17 +0100
commit043f85210a06168e36f103950897e00918504f6f (patch)
tree0559ca04b5a34bb6af6934bca9d3efedeb6ef734 /src/nvim/version.c
parent5082af415f762e5f5974214e32deff883141bfc2 (diff)
downloadrneovim-043f85210a06168e36f103950897e00918504f6f.tar.gz
rneovim-043f85210a06168e36f103950897e00918504f6f.tar.bz2
rneovim-043f85210a06168e36f103950897e00918504f6f.zip
tui: "backpressure": Drop messages to avoid flooding.
Closes #1234 multiqueue: - Implement multiqueue_size() - Rename MultiQueueItem.parent to MultiQueueItem.parent_item, to avoid confusion with MultiQueue.parent.
Diffstat (limited to 'src/nvim/version.c')
-rw-r--r--src/nvim/version.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/version.c b/src/nvim/version.c
index c48b26c9ce..10a25d5b8c 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -13,6 +13,7 @@
#include "nvim/iconv.h"
#include "nvim/version.h"
#include "nvim/charset.h"
+#include "nvim/macros.h"
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/message.h"
@@ -22,9 +23,6 @@
// version info generated by the build system
#include "auto/versiondef.h"
-#define STR_(x) #x
-#define STR(x) STR_(x)
-
// for ":version", ":intro", and "nvim --version"
#ifndef NVIM_VERSION_MEDIUM
#define NVIM_VERSION_MEDIUM STR(NVIM_VERSION_MAJOR) "." STR(NVIM_VERSION_MINOR)\