From 765fdf4a0e9ca6a0f577cad60f69e15e77bfa601 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 18 May 2011 17:19:38 +0200 Subject: [PATCH] Use "__inline" instead of "inline" with MSVC MSVC supports "inline" only in C++ code, not in C code. --- src/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_file.c b/src/config_file.c index 37bb2794e..fcd15c6d4 100644 --- a/src/config_file.c +++ b/src/config_file.c @@ -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 == '-'; }