mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0766: various problems when using Vim on VMS
Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
This commit is contained in:
11
src/vim.h
11
src/vim.h
@@ -337,6 +337,17 @@
|
||||
typedef unsigned char char_u;
|
||||
typedef unsigned short short_u;
|
||||
typedef unsigned int int_u;
|
||||
|
||||
/* Older systems do not have support for long long
|
||||
* use a typedef instead of hadcoded long long */
|
||||
#ifdef HAVE_NO_LONG_LONG
|
||||
typedef long long_long_T;
|
||||
typedef long unsigned long_long_u_T;
|
||||
#else
|
||||
typedef long long long_long_T;
|
||||
typedef long long unsigned long_long_u_T;
|
||||
#endif
|
||||
|
||||
/* Make sure long_u is big enough to hold a pointer.
|
||||
* On Win64, longs are 32 bits and pointers are 64 bits.
|
||||
* For printf() and scanf(), we need to take care of long_u specifically. */
|
||||
|
Reference in New Issue
Block a user