0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.2153: no support to build on OpenVMS

Problem:  no support to build on OpenVMS
Solution: Add OpenVMS X86_64 platform port

closes: #13623

Co-authored-by: errael <errael@raelity.com>
Co-authored-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Zoltan Arpadffy
2023-12-05 16:04:23 +01:00
committed by Christian Brabandt
parent 668971958c
commit 1c8e233cb8
14 changed files with 178 additions and 61 deletions

View File

@@ -278,6 +278,10 @@
static inline int isnan(double x)
{ return x != x; }
# endif
# if defined(VMS) && defined(X86_64)
static inline int isinf(double x)
{ return !isnan(x) && !finite(x); }
# endif
# ifndef HAVE_ISINF
static inline int isinf(double x)
{ return !isnan(x) && isnan(x - x); }