diff options
| author | Sebastian Schuberth <sschuberth@gmail.com> | 2011-05-18 17:19:38 +0200 |
|---|---|---|
| committer | Sebastian Schuberth <sschuberth@gmail.com> | 2011-05-18 17:31:24 +0200 |
| commit | 765fdf4a0e9ca6a0f577cad60f69e15e77bfa601 (patch) | |
| tree | 2081badcc9b507118e9c4c4525ce1e0d2dd3e9e9 | |
| parent | 072347166f78408dd4a92cb3b75f6673b71a0f7e (diff) | |
| download | libgit2-765fdf4a0e9ca6a0f577cad60f69e15e77bfa601.tar.gz | |
Use "__inline" instead of "inline" with MSVC
MSVC supports "inline" only in C++ code, not in C code.
| -rw-r--r-- | src/config_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 == '-'; } |
