comparison src/vim.h @ 15517:2ad5f0ffaa2e v8.1.0766

patch 8.1.0766: various problems when using Vim on VMS commit https://github.com/vim/vim/commit/88c86eb751de9e7e410b405084d35b32fafc2a24 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 17:13:30 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 17:15:06 +0100
parents 41fbbcea0f1b
children 3ef31ce9d9f9
comparison
equal deleted inserted replaced
15516:f9d855fe7971 15517:2ad5f0ffaa2e
335 * already defined, so we use char_u to avoid trouble. 335 * already defined, so we use char_u to avoid trouble.
336 */ 336 */
337 typedef unsigned char char_u; 337 typedef unsigned char char_u;
338 typedef unsigned short short_u; 338 typedef unsigned short short_u;
339 typedef unsigned int int_u; 339 typedef unsigned int int_u;
340
341 /* Older systems do not have support for long long
342 * use a typedef instead of hadcoded long long */
343 #ifdef HAVE_NO_LONG_LONG
344 typedef long long_long_T;
345 typedef long unsigned long_long_u_T;
346 #else
347 typedef long long long_long_T;
348 typedef long long unsigned long_long_u_T;
349 #endif
350
340 /* Make sure long_u is big enough to hold a pointer. 351 /* Make sure long_u is big enough to hold a pointer.
341 * On Win64, longs are 32 bits and pointers are 64 bits. 352 * On Win64, longs are 32 bits and pointers are 64 bits.
342 * For printf() and scanf(), we need to take care of long_u specifically. */ 353 * For printf() and scanf(), we need to take care of long_u specifically. */
343 #ifdef _WIN64 354 #ifdef _WIN64
344 typedef unsigned __int64 long_u; 355 typedef unsigned __int64 long_u;