forked from aniani/vim
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:
committed by
Christian Brabandt
parent
668971958c
commit
1c8e233cb8
@@ -439,7 +439,12 @@ typedef unsigned int u8char_T; // int is 32 bits or more
|
||||
* The vimlong_T has sizeof(vimlong_T) >= 2 * sizeof(int).
|
||||
* One use is simple handling of overflow in int calculations.
|
||||
*/
|
||||
#if defined(VMS) && defined(VAX)
|
||||
// unsupported compiler
|
||||
typedef long vimlong_T;
|
||||
#else
|
||||
typedef long long vimlong_T;
|
||||
#endif
|
||||
|
||||
#ifndef UNIX // For Unix this is included in os_unix.h
|
||||
# include <stdio.h>
|
||||
@@ -499,6 +504,10 @@ typedef long long vimlong_T;
|
||||
# include <wctype.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
// older compilers do not define va_copy
|
||||
#ifndef va_copy
|
||||
# define va_copy(dst, src) ((dst) = (src))
|
||||
#endif
|
||||
|
||||
// for offsetof()
|
||||
#include <stddef.h>
|
||||
|
Reference in New Issue
Block a user