summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan Arpadffy <zoltan.arpadffy@gmail.com>2024-08-18 16:59:20 +0200
committerChristian Brabandt <cb@256bit.org>2024-08-18 16:59:20 +0200
commit10231ac63895a0f6e284713e45cb08ed7f9945aa (patch)
tree13703a4039f5de114bf8d5d43457595b4ef9b561
parent890f97ce57ed90d55a87ff1b88914922cda8f016 (diff)
patch 9.1.0680: VMS does not have defined uintptr_tv9.1.0680
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>
-rw-r--r--src/evalfunc.c8
-rw-r--r--src/version.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 52ac48cbf2..173b544b32 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -7541,6 +7541,14 @@ f_hostname(typval_T *argvars UNUSED, typval_T *rettv)
* 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)
{
diff --git a/src/version.c b/src/version.c
index 798e558457..8965dbca82 100644
--- 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,