Commit 765fdf4a by Sebastian Schuberth

Use "__inline" instead of "inline" with MSVC

MSVC supports "inline" only in C++ code, not in C code.
parent 07234716
...@@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg) ...@@ -565,7 +565,7 @@ void cfg_consume_line(file_backend *cfg)
cfg->reader.read_ptr = line_end; cfg->reader.read_ptr = line_end;
} }
static inline int config_keychar(int c) GIT_INLINE(int) config_keychar(int c)
{ {
return isalnum(c) || c == '-'; return isalnum(c) || c == '-';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment