mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 9.0.1420: build failure because SIZE_MAX is not defined
Problem: Build failure because SIZE_MAX is not defined. Solution: Define SIZE_MAX when missing. (John Marriott)
This commit is contained in:
parent
4a5c39fc52
commit
aa26153b6c
@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1420,
|
||||||
/**/
|
/**/
|
||||||
1419,
|
1419,
|
||||||
/**/
|
/**/
|
||||||
|
@ -24,7 +24,11 @@
|
|||||||
#define XMACROS_H
|
#define XMACROS_H
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __hpux
|
||||||
|
# ifndef SIZE_MAX
|
||||||
|
# define SIZE_MAX ((size_t)(-1))
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define XDL_MIN(a, b) ((a) < (b) ? (a): (b))
|
#define XDL_MIN(a, b) ((a) < (b) ? (a): (b))
|
||||||
#define XDL_MAX(a, b) ((a) > (b) ? (a): (b))
|
#define XDL_MAX(a, b) ((a) > (b) ? (a): (b))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user