From 7aea7a953c0d5e2a4fc5312130dc9f6e2a75eab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sat, 8 Oct 2022 01:49:34 +0200 Subject: patches/vim/no-timers.patch: new patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/vim/no-timers.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/vim/no-timers.patch (limited to 'patches') diff --git a/patches/vim/no-timers.patch b/patches/vim/no-timers.patch new file mode 100644 index 00000000..a51ebd85 --- /dev/null +++ b/patches/vim/no-timers.patch @@ -0,0 +1,18 @@ +diff -ru vim-9.0.0234.orig/src/feature.h vim-9.0.0234/src/feature.h +--- vim-9.0.0234.orig/src/feature.h 2022-08-21 11:40:07.000000000 +0200 ++++ vim-9.0.0234/src/feature.h 2022-10-08 01:45:47.482619953 +0200 +@@ -288,12 +288,14 @@ + /* + * +reltime reltime() function + */ ++#ifndef __midipix__ + #if defined(FEAT_NORMAL) \ + && defined(FEAT_EVAL) \ + && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ + || defined(MSWIN)) + # define FEAT_RELTIME + #endif ++#endif + + /* + * +timers timer_start() -- cgit v1.2.3