comparison src/crypt_zip.c @ 15607:2dcaa860e3fc v8.1.0811

patch 8.1.0811: too many #ifdefs commit https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 24 17:59:39 2019 +0100 patch 8.1.0811: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter.
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Jan 2019 18:00:07 +0100
parents 27b9a84395b5
children cd5c83115ec6
comparison
equal deleted inserted replaced
15606:50e09796a00a 15607:2dcaa860e3fc
22 * most countries. There are a few exceptions, but that still should not be a 22 * most countries. There are a few exceptions, but that still should not be a
23 * problem since this code was originally created in Europe and India. 23 * problem since this code was originally created in Europe and India.
24 */ 24 */
25 25
26 /* Need a type that should be 32 bits. 64 also works but wastes space. */ 26 /* Need a type that should be 32 bits. 64 also works but wastes space. */
27 # if VIM_SIZEOF_INT >= 4
28 typedef unsigned int u32_T; /* int is at least 32 bits */ 27 typedef unsigned int u32_T; /* int is at least 32 bits */
29 # else
30 typedef unsigned long u32_T; /* long should be 32 bits or more */
31 # endif
32 28
33 /* The state of encryption, referenced by cryptstate_T. */ 29 /* The state of encryption, referenced by cryptstate_T. */
34 typedef struct { 30 typedef struct {
35 u32_T keys[3]; 31 u32_T keys[3];
36 } zip_state_T; 32 } zip_state_T;