summaryrefslogtreecommitdiffhomepage
path: root/patches/vim
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-10-08 01:49:34 +0200
committerØrjan Malde <red@foxi.me>2022-10-08 01:49:34 +0200
commit7aea7a953c0d5e2a4fc5312130dc9f6e2a75eab2 (patch)
treea5fa3bb6d8c0956d20a602d6a184ab93d06ac39b /patches/vim
parentda1fce1ea1a3dd26b2609a959a0af8bc8362a616 (diff)
downloadmidipix_build-7aea7a953c0d5e2a4fc5312130dc9f6e2a75eab2.tar.bz2
midipix_build-7aea7a953c0d5e2a4fc5312130dc9f6e2a75eab2.tar.xz
patches/vim/no-timers.patch: new patch
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/vim')
-rw-r--r--patches/vim/no-timers.patch18
1 files changed, 18 insertions, 0 deletions
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()