changeset 35989:b4836a0e77e1 v9.1.0680

patch 9.1.0680: VMS does not have defined uintptr_t Commit: https://github.com/vim/vim/commit/10231ac63895a0f6e284713e45cb08ed7f9945aa Author: Zoltan Arpadffy <zoltan.arpadffy@gmail.com> Date: Sun Aug 18 16:59:20 2024 +0200 patch 9.1.0680: VMS does not have defined uintptr_t Problem: VMS does not have defined uintptr_t Solution: Add type definitions (Zoltan Arpadffy) closes: #15520 Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 18 Aug 2024 17:15:03 +0200
parents b0f387263687
children c2823123e4d1
files src/evalfunc.c src/version.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7541,6 +7541,14 @@ f_hostname(typval_T *argvars UNUSED, typ
  * Currently only valid for object/container types.
  * Return empty string if not an object.
  */
+#ifdef VMS // VMS does not have defined uintptr_t
+# if defined(HAVE_NO_LONG_LONG)
+typedef unsigned int uintptr_t;
+# else
+typedef unsigned long long uintptr_t;
+# endif
+#endif // VMS
+
     static void
 f_id(typval_T *argvars, typval_T *rettv)
 {
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    680,
+/**/
     679,
 /**/
     678,