diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-02-27 16:30:32 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2023-03-03 14:19:46 +0100 |
commit | 166b149d5b473f277c63e64ced03c40df44ac3c9 (patch) | |
tree | af1b66f0a4b0b13ad128d0cef106aef5bfbfc704 /src/nvim/os/shell.c | |
parent | fbaf5bde55d42869ed6d9e9fc072110ac9976c66 (diff) | |
download | rneovim-166b149d5b473f277c63e64ced03c40df44ac3c9.tar.gz rneovim-166b149d5b473f277c63e64ced03c40df44ac3c9.tar.bz2 rneovim-166b149d5b473f277c63e64ced03c40df44ac3c9.zip |
refactor(build): remove unused stdlib function and include checks
In addition: merge some checks for the same feature into one
test_compile. This reduces the total number of test compiles
which speeds up the cmake configure stage.
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index f1e2c5440f..f7d1154169 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -399,8 +399,8 @@ int os_expand_wildcards(int num_pat, char **pat, int *num_file, char ***file, in fclose(fd); return FAIL; } -#if SIZEOF_LONG_LONG > SIZEOF_SIZE_T - assert(templen <= (long long)SIZE_MAX); // NOLINT(runtime/int) +#if 8 > SIZEOF_SIZE_T + assert(templen <= SIZE_MAX); // NOLINT(runtime/int) #endif len = (size_t)templen; fseek(fd, 0L, SEEK_SET); |