mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 13:04:42 +00:00
Use "__inline" instead of "inline" with MSVC
MSVC supports "inline" only in C++ code, not in C code.
This commit is contained in:
parent
072347166f
commit
765fdf4a0e
@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg)
|
||||
cfg->reader.read_ptr = line_end;
|
||||
}
|
||||
|
||||
static inline int config_keychar(int c)
|
||||
GIT_INLINE(int) config_keychar(int c)
|
||||
{
|
||||
return isalnum(c) || c == '-';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user