vim: update to 8.2.4804

This commit is contained in:
Tom G. Christensen
2022-04-22 17:54:59 +02:00
parent aaa395cbb2
commit 64ebbf954b
4 changed files with 25 additions and 21 deletions

View File

@@ -1,12 +0,0 @@
--- vim-7.4.2253/src/channel.c.socklen_t 2016-08-25 23:19:29.000000000 +0200
+++ vim-7.4.2253/src/channel.c 2016-08-26 11:33:11.314733000 +0200
@@ -52,6 +52,9 @@
# define fd_read(fd, buf, len) read(fd, buf, len)
# define fd_write(sd, buf, len) write(sd, buf, len)
# define fd_close(sd) close(sd)
+# ifndef socklen_t
+typedef int socklen_t;
+# endif
#endif
static void channel_read(channel_T *channel, int part, char *func);

View File

@@ -0,0 +1,12 @@
--- vim-8.2.4804/src/channel.c.socklen_t 2022-04-22 00:30:15.000000000 +0000
+++ vim-8.2.4804/src/channel.c 2022-04-22 17:29:16.780004000 +0000
@@ -66,6 +66,9 @@
# define fd_read(fd, buf, len) read(fd, buf, len)
# define fd_write(sd, buf, len) write(sd, buf, len)
# define fd_close(sd) close(sd)
+# ifndef socklen_t
+typedef size_t socklen_t;
+# endif
#endif
static void channel_read(channel_T *channel, ch_part_T part, char *func);