Skip to content

Commit 10231ac

Browse files
arpadffychrisbra
authored andcommitted
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>
1 parent 890f97c commit 10231ac

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/evalfunc.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7541,6 +7541,14 @@ f_hostname(typval_T *argvars UNUSED, typval_T *rettv)
75417541
* Currently only valid for object/container types.
75427542
* Return empty string if not an object.
75437543
*/
7544+
#ifdef VMS // VMS does not have defined uintptr_t
7545+
# if defined(HAVE_NO_LONG_LONG)
7546+
typedef unsigned int uintptr_t;
7547+
# else
7548+
typedef unsigned long long uintptr_t;
7549+
# endif
7550+
#endif // VMS
7551+
75447552
static void
75457553
f_id(typval_T *argvars, typval_T *rettv)
75467554
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
680,
707709
/**/
708710
679,
709711
/**/

0 commit comments

Comments
 (0)